1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

CHORE: Fix golint and staticcheck errors/warnings (#2717)

This commit is contained in:
Tom Limoncelli
2023-12-11 16:24:11 -05:00
committed by GitHub
parent 6e90946b15
commit 790513a170
10 changed files with 56 additions and 13 deletions

View File

@@ -1,7 +1,7 @@
package porkbun
func (client *porkbunProvider) ListZones() ([]string, error) {
zones, err := client.listAllDomains()
func (c *porkbunProvider) ListZones() ([]string, error) {
zones, err := c.listAllDomains()
if err != nil {
return nil, err
}