From f9d219c0ec2eda479023d98c28d620b924e076af Mon Sep 17 00:00:00 2001 From: afeiszli Date: Fri, 3 Jun 2022 11:31:57 -0400 Subject: [PATCH] changing yaml mapping --- models/structs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/structs.go b/models/structs.go index b39ab09d..c500edcf 100644 --- a/models/structs.go +++ b/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"`