1
0
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:
Patrick Gaskin
2020-01-28 12:10:58 -05:00
committed by Tom Limoncelli
parent 825ba2d081
commit 6e8d5b59ab
3 changed files with 2 additions and 3 deletions

View File

@@ -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"`