Merge pull request #1972 from gravitl/bugfix_nmctl_host_default

Fix nmctl host update
This commit is contained in:
dcarns 2023-01-25 12:48:00 -05:00 committed by GitHub
commit d22a38a4d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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