diff options
Diffstat (limited to 'config.go')
| -rw-r--r-- | config.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -43,10 +43,10 @@ func LoadConfig(path string) (*Config, error) { return nil, fmt.Errorf("record %d: type must be A or AAAA", i) } if _, ok := cfg.Providers[r.Provider]; !ok { - return nil, fmt.Errorf("record %d: unknown provider %q", i, r.Provider) + return nil, fmt.Errorf("record %d: unknown provider '%s'", i, r.Provider) } if _, ok := cfg.Sources[r.Source]; !ok { - return nil, fmt.Errorf("record %d: unknown source %q", i, r.Source) + return nil, fmt.Errorf("record %d: unknown source '%s'", i, r.Source) } } return &cfg, nil |
