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

@@ -54,8 +54,8 @@ func (c *certManager) createAccount(email string) (*Account, error) {
type Account struct {
Email string `json:"email"`
key *ecdsa.PrivateKey `json:"-"`
Registration *registration.Resource `json:"registration"`
key *ecdsa.PrivateKey
}
func (a *Account) GetEmail() string {