mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
Make staticcheck more strict and fix new warnings
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package msdns
|
||||
|
||||
func (c *msdnsProvider) ListZones() ([]string, error) {
|
||||
zones, err := c.shell.GetDNSServerZoneAll(c.dnsserver)
|
||||
func (client *msdnsProvider) ListZones() ([]string, error) {
|
||||
zones, err := client.shell.GetDNSServerZoneAll(client.dnsserver)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
Reference in New Issue
Block a user