mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
linting (#693)
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
This commit is contained in:
@@ -56,7 +56,7 @@ const (
|
||||
// CanUseRoute53Alias indicates the provider support the specific R53_ALIAS records that only the Route53 provider supports
|
||||
CanUseRoute53Alias
|
||||
|
||||
// CanGetZoe indicates the provider supports the get-zones subcommand.
|
||||
// CanGetZones indicates the provider supports the get-zones subcommand.
|
||||
CanGetZones
|
||||
|
||||
// CanUseAzureAlias indicates the provider support the specific Azure_ALIAS records that only the Azure provider supports
|
||||
|
@@ -24,7 +24,7 @@ type DomainCreator interface {
|
||||
EnsureDomainExists(domain string) error
|
||||
}
|
||||
|
||||
// DomainLister should be implemented by providers that have the
|
||||
// ZoneLister should be implemented by providers that have the
|
||||
// ability to list the zones they manage. This facilitates using the
|
||||
// "get-zones" command for "all" zones.
|
||||
type ZoneLister interface {
|
||||
@@ -93,7 +93,7 @@ func (n None) GetNameservers(string) ([]*models.Nameserver, error) {
|
||||
}
|
||||
|
||||
// GetZoneRecords gets the records of a zone and returns them in RecordConfig format.
|
||||
func (client None) GetZoneRecords(domain string) (models.Records, error) {
|
||||
func (n None) GetZoneRecords(domain string) (models.Records, error) {
|
||||
return nil, fmt.Errorf("not implemented")
|
||||
// This enables the get-zones subcommand.
|
||||
// Implement this by extracting the code from GetDomainCorrections into
|
||||
|
Reference in New Issue
Block a user