node/cmd: fix typo in list-nodes command

Change-Id: I1b56dd4eeea32d05e7ae5c2524cfce1197c0154a
This commit is contained in:
Leo 2021-10-27 02:07:27 +02:00 committed by Leopold Schabel
parent 9ba59fa2b2
commit 1ccd9eef12
1 changed files with 2 additions and 2 deletions

View File

@ -65,9 +65,9 @@ func runListNodes(cmd *cobra.Command, args []string) {
w := tabwriter.NewWriter(os.Stdout, 0, 8, 2, ' ', 0) w := tabwriter.NewWriter(os.Stdout, 0, 8, 2, ' ', 0)
if showDetails { if showDetails {
_, _ = w.Write([]byte("Node key\tGuardian key\tNode name\tVersion\tLast seen\tUptime\tSolana\tEthereum\tTerra\tBSC\nPolygon\n")) _, _ = w.Write([]byte("Node key\tGuardian key\tNode name\tVersion\tLast seen\tUptime\tSolana\tEthereum\tTerra\tBSC\tPolygon\n"))
} else { } else {
_, _ = w.Write([]byte("Node key\tGuardian key\tNode name\tVersion\tLast seen\tSolana\tEthereum\tTerra\tBSC\nPolygon\n")) _, _ = w.Write([]byte("Node key\tGuardian key\tNode name\tVersion\tLast seen\tSolana\tEthereum\tTerra\tBSC\tPolygon\n"))
} }
for _, h := range nodes { for _, h := range nodes {