Fix some golint errors for packages in pkg/kubectl/cmd

Co-authored-by: Arijit Basu <sayanarijit@gmail.com>
This commit is contained in:
Yang Li
2018-10-30 18:35:24 +08:00
parent b6a0718858
commit 141d33a2a5
83 changed files with 641 additions and 424 deletions

View File

@@ -344,8 +344,7 @@ func (o *LabelOptions) RunLabel() error {
if err != nil {
return err
}
printer.PrintObj(info.Object, o.Out)
return nil
return printer.PrintObj(info.Object, o.Out)
})
}