mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
@@ -19,7 +19,7 @@ func LoadProviderConfigs(fname string) (map[string]map[string]string, error) {
|
||||
var results = map[string]map[string]string{}
|
||||
dat, err := utfutil.ReadFile(fname, utfutil.POSIX)
|
||||
if err != nil {
|
||||
//no creds file is ok. Bind requires nothing for example. Individual providers will error if things not found.
|
||||
// no creds file is ok. Bind requires nothing for example. Individual providers will error if things not found.
|
||||
if os.IsNotExist(err) {
|
||||
return results, nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user