fix lint
This commit is contained in:
parent
3ee87a8af8
commit
afb527ff30
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user