Skip to content

Commit

Permalink
simply: fix Go doc. (#1424)
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez authored Jun 8, 2021
1 parent e79975c commit f5da11c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions providers/dns/simply/simply.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ type DNSProvider struct {
recordIDsMu sync.Mutex
}

// NewDNSProvider returns a DNSProvider instance configured for Njalla.
// Credentials must be passed in the environment variable: NJALLA_TOKEN.
// NewDNSProvider returns a DNSProvider instance configured for Simply.com.
// Credentials must be passed in the environment variable: SIMPLY_ACCOUNT_NAME, SIMPLY_API_KEY.
func NewDNSProvider() (*DNSProvider, error) {
values, err := env.Get(EnvAccountName, EnvAPIKey)
if err != nil {
Expand All @@ -73,7 +73,7 @@ func NewDNSProvider() (*DNSProvider, error) {
return NewDNSProviderConfig(config)
}

// NewDNSProviderConfig return a DNSProvider instance configured for Njalla.
// NewDNSProviderConfig return a DNSProvider instance configured for Simply.com.
func NewDNSProviderConfig(config *Config) (*DNSProvider, error) {
if config == nil {
return nil, errors.New("simply: the configuration of the DNS provider is nil")
Expand Down

0 comments on commit f5da11c

Please sign in to comment.