mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
Internal: deps updates and linting (#905)
* Update dependencies * writing-providers.md: Update for Go Mod, etc. * Linting pkg/version * s/CloudflareAPI/api/g * s/ApiKey/APIKey/g * s/ApiToken/APIToken/g * s/ApiUser/APIUser/g
This commit is contained in:
@@ -37,7 +37,7 @@ func newProvider(conf map[string]string) (*HXClient, error) {
|
||||
api := &HXClient{
|
||||
client: hxcl.NewAPIClient(),
|
||||
}
|
||||
api.client.SetUserAgent("DNSControl", version.VersionString())
|
||||
api.client.SetUserAgent("DNSControl", version.Banner())
|
||||
api.APILogin, api.APIPassword, api.APIEntity = conf["apilogin"], conf["apipassword"], conf["apientity"]
|
||||
if conf["debugmode"] == "1" {
|
||||
api.client.EnableDebugMode()
|
||||
|
Reference in New Issue
Block a user