Merge pull request #1577 from crosbymichael/lint-1
Update files based on go lint
This commit is contained in:
@@ -44,12 +44,7 @@ var namespacesCreateCommand = cli.Command{
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
if err := namespaces.Create(ctx, namespace, labels); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
return namespaces.Create(ctx, namespace, labels)
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@@ -47,9 +47,6 @@ var taskPsCommand = cli.Command{
|
||||
return err
|
||||
}
|
||||
}
|
||||
if err := w.Flush(); err != nil {
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
return w.Flush()
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user