Browse Source

Merge pull request #1972 from gravitl/bugfix_nmctl_host_default

Fix nmctl host update
dcarns 2 years ago
parent
commit
d22a38a4d0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      cli/cmd/host/update.go

+ 1 - 0
cli/cmd/host/update.go

@@ -38,6 +38,7 @@ var hostUpdateCmd = &cobra.Command{
 				log.Fatal(err)
 			}
 		} else {
+			apiHost.ID = args[0]
 			apiHost.EndpointIP = endpoint
 			apiHost.Name = name
 			apiHost.ListenPort = listenPort