Browse Source

fix host update

Anish Mukherjee 2 years ago
parent
commit
5c1d91ad72
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