Minor fixup of variable nomenclature

This commit is contained in:
Gregory Kurtzer
2020-12-07 13:56:01 -08:00
parent 420715c307
commit 94f6154f68

View File

@@ -18,8 +18,8 @@ func CobraRunE(cmd *cobra.Command, args []string) error {
os.Exit(1) os.Exit(1)
} }
nconfig, _ := node.New() nodeDB, _ := node.New()
nodes, _ := nconfig.FindAllNodes() nodes, _ := nodeDB.FindAllNodes()
nodemap := make(map[string]int) nodemap := make(map[string]int)
for _, n := range nodes { for _, n := range nodes {