mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 16:24:19 -04:00
fix ineffectual assignment to err (#3066)
Signed-off-by: alan <zg.zhu@daocloud.io>
This commit is contained in:
@@ -40,7 +40,10 @@ func main() {
|
||||
o, err = owners(p, o)
|
||||
return err
|
||||
})
|
||||
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
// sort it and format it
|
||||
list := []string{}
|
||||
for k := range o {
|
||||
|
||||
Reference in New Issue
Block a user