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
@@ -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 {
|
||||
|
Reference in New Issue
Block a user