fix ineffectual assignment to err (#3066)
Signed-off-by: alan <zg.zhu@daocloud.io>
This commit is contained in:
parent
b8f40a8150
commit
7be2226eab
1 changed files with 4 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue