Minor tweak for example

This commit is contained in:
Gregory Kurtzer
2020-11-20 23:03:18 -08:00
parent bfb7908a8c
commit 982816b474
2 changed files with 3 additions and 6 deletions

View File

@@ -25,7 +25,7 @@ func CobraRunE(cmd *cobra.Command, args []string) error {
if SetVnfs != "" {
fmt.Printf("Setting vnfs to: %s\n", SetVnfs)
n = n.SetNodeVal("n0000", "vnfs", SetVnfs)
c, err = n.SetNodeVal("n0000", "vnfs", SetVnfs)
}
fmt.Printf("set count: %d\n", c)