Merge pull request #1577 from crosbymichael/lint-1

Update files based on go lint
This commit is contained in:
Michael Crosby
2017-10-02 10:57:19 -04:00
committed by GitHub
22 changed files with 61 additions and 44 deletions

View File

@@ -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)
},
}

View File

@@ -47,9 +47,6 @@ var taskPsCommand = cli.Command{
return err
}
}
if err := w.Flush(); err != nil {
return err
}
return nil
return w.Flush()
},
}