dnscontrol/providers/msdns/listzones.go
Tom Limoncelli 886dbf6d00
MAINT: Make staticcheck more strict and fix new warnings (#1408)
* Make staticcheck more strict and fix new warnings
2022-02-11 14:30:45 -05:00

9 lines
201 B
Go

package msdns
func (client *msdnsProvider) ListZones() ([]string, error) {
zones, err := client.shell.GetDNSServerZoneAll(client.dnsserver)
if err != nil {
return nil, err
}
return zones, err
}