node/cmd: fix typo in list-nodes command
Change-Id: I1b56dd4eeea32d05e7ae5c2524cfce1197c0154a
This commit is contained in:
parent
9ba59fa2b2
commit
1ccd9eef12
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue