mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
Security: Fix many staticcheck warnings
This commit is contained in:
@@ -36,6 +36,9 @@ func LoadProviderConfigs(fname string) (map[string]map[string]string, error) {
|
||||
} else {
|
||||
// no executable bit found nor marked as executable so read it in
|
||||
dat, err = readCredsFile(fname)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
}
|
||||
|
||||
s := string(dat)
|
||||
|
Reference in New Issue
Block a user