mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
Fixed issues from go vet (#605)
* CloudFlare provider is missing quotes on a JSON struct tag. * ACME package has a unnecessary JSON struct tag. * Route53 provider has an unreachable return.
This commit is contained in:
committed by
Tom Limoncelli
parent
825ba2d081
commit
6e8d5b59ab
@@ -58,7 +58,7 @@ func init() {
|
||||
// CloudflareApi is the handle for API calls.
|
||||
type CloudflareApi struct {
|
||||
ApiKey string `json:"apikey"`
|
||||
ApiToken string `json:apitoken`
|
||||
ApiToken string `json:"apitoken"`
|
||||
ApiUser string `json:"apiuser"`
|
||||
AccountID string `json:"accountid"`
|
||||
AccountName string `json:"accountname"`
|
||||
|
Reference in New Issue
Block a user