Minor fixup of variable nomenclature
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user