Browse Source

changing yaml mapping

afeiszli 3 years ago
parent
commit
f9d219c0ec
1 changed files with 1 additions and 1 deletions
  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"`