Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
arturrez committed Dec 5, 2024
1 parent 1b49d7e commit 95af894
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/node/local.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ func TrackSubnetWithLocalMachine(
); err != nil {
return err
}
AddNodeInfoToSidecar(&sc, nodeInfo, network)
if err := AddNodeInfoToSidecar(&sc, nodeInfo, network); err != nil {
return fmt.Errorf("failed to update sidecar with new node info: %w", err)
}
}
for _, rpcURL := range networkInfo.RPCEndpoints {
ux.Logger.PrintToUser("Waiting for rpc %s to be available", rpcURL)
Expand Down Expand Up @@ -585,8 +587,6 @@ func UpsizeLocalNode(
ux.SpinComplete(spinner)
spinSession.Stop()

// update sidecar

ux.Logger.PrintToUser("")
ux.Logger.PrintToUser("Node logs directory: %s/%s/logs", rootDir, newNodeName)
ux.Logger.PrintToUser("")
Expand Down

0 comments on commit 95af894

Please sign in to comment.