This commit is contained in:
Łukasz Magiera 2021-03-08 13:31:06 +01:00
parent 3ee87a8af8
commit afb527ff30

View File

@ -97,7 +97,7 @@ var NetPeers = &cli.Command{
for _, peer := range peers {
var agent string
if cctx.Bool("agent") {
agent, err := api.NetAgentVersion(ctx, peer.ID)
agent, err = api.NetAgentVersion(ctx, peer.ID)
if err != nil {
log.Warnf("getting agent version: %s", err)
} else {