diff options
Diffstat (limited to 'web/config.go')
-rw-r--r-- | web/config.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/web/config.go b/web/config.go index 01b6f47..2479e38 100644 --- a/web/config.go +++ b/web/config.go | |||
@@ -3,7 +3,6 @@ package web | |||
3 | import ( | 3 | import ( |
4 | "encoding/json" | 4 | "encoding/json" |
5 | "io/ioutil" | 5 | "io/ioutil" |
6 | "log" | ||
7 | "strings" | 6 | "strings" |
8 | 7 | ||
9 | "code.crute.me/mcrute/go_ddns_manager/bind" | 8 | "code.crute.me/mcrute/go_ddns_manager/bind" |
@@ -45,7 +44,6 @@ func LoadServerConfig(zonesFile, secretsFile, server, view string) (*ServerConfi | |||
45 | } | 44 | } |
46 | 45 | ||
47 | func (s *ServerConfig) GetDDNSZoneName(k string) string { | 46 | func (s *ServerConfig) GetDDNSZoneName(k string) string { |
48 | log.Printf("%#v", s.DDNSSecrets) | ||
49 | v, _ := s.DDNSSecrets[k] | 47 | v, _ := s.DDNSSecrets[k] |
50 | return v | 48 | return v |
51 | } | 49 | } |