Przeglądaj źródła

Merge pull request #1176 from gravitl/hotfix_v0.14.2_client_upgrade

changing yaml mapping
Matthew R Kasun 3 lat temu
rodzic
commit
9e5957e4c9
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      models/structs.go

+ 1 - 1
models/structs.go

@@ -198,7 +198,7 @@ type NodeGet struct {
 // ServerConfig - struct for dealing with the server information for a netclient
 type ServerConfig struct {
 	CoreDNSAddr string `yaml:"corednsaddr"`
-	API         string `yaml:"apihost"`
+	API         string `yaml:"api"`
 	APIPort     string `yaml:"apiport"`
 	ClientMode  string `yaml:"clientmode"`
 	DNSMode     string `yaml:"dnsmode"`