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

Refactor the BuildDnsimpleProvider method so that it no longer needs the skipWhoami bool parameter
  • Loading branch information
IntegralProgrammer committed Mar 15, 2024
1 parent 9c24ecc commit 660b20b
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 @@ -99,7 +99,7 @@ const (

// NewDnsimpleProvider initializes a new Dnsimple based provider
func NewDnsimpleProvider(domainFilter endpoint.DomainFilter, zoneIDFilter provider.ZoneIDFilter, dryRun bool) (provider.Provider, error) {
return BuildDnsimpleProvider(domainFilter, zoneIDFilter, dryRun, false)
return BuildDnsimpleProvider(domainFilter, zoneIDFilter, dryRun)
}

// Create a new Dnsimple based provider returning a *dnsimpleProvider. The *dnsimpleProvider return type is needed for testing purposes
Expand Down

0 comments on commit 660b20b

Please sign in to comment.