From f5da11cd29d6880d27f459d0c4e133da394c6f9b Mon Sep 17 00:00:00 2001 From: Ludovic Fernandez Date: Tue, 8 Jun 2021 10:59:55 +0200 Subject: [PATCH] simply: fix Go doc. (#1424) --- providers/dns/simply/simply.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/providers/dns/simply/simply.go b/providers/dns/simply/simply.go index 030430d6..0daddf45 100644 --- a/providers/dns/simply/simply.go +++ b/providers/dns/simply/simply.go @@ -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 { @@ -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")