Skip to content

Commit

Permalink
Allow for DNSimple User API tokens to be used by implementing the DNS…
Browse files Browse the repository at this point in the history
…IMPLE_ACCOUNT_ID and DNSIMPLE_ZONES environment variables

Fix code linting error - use !skipWhoami instead of skipWhoami == false
  • Loading branch information
IntegralProgrammer committed Mar 15, 2024
1 parent acf188f commit eb59b9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provider/dnsimple/dnsimple.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func BuildDnsimpleProvider(domainFilter endpoint.DomainFilter, zoneIDFilter prov
}

whoamiResponse := &dnsimple.WhoamiResponse{}
if skipWhoami == false {
if !skipWhoami {
var err error
whoamiResponse, err = provider.identity.Whoami(context.Background())
if err != nil {
Expand Down

0 comments on commit eb59b9b

Please sign in to comment.