-
Notifications
You must be signed in to change notification settings - Fork 2
Pull release/v1.1.0 in master #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Pull feature/tobias/github-provider in develop
| util.CheckForError(err, "GetGitProvider") | ||
|
|
||
| gh.Publish(currentBranch) | ||
| gp.Publish(currentBranch) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Error return value of gp.Publish is not checked (from errcheck)
| cmd.Flags().StringVarP(&MergeRequestFlags.GitlabCIToken, "token", "t", "", "gitlab ci token") | ||
| viper.BindPFlag("githost", cmd.Flags().Lookup("endpoint")) | ||
| cmd.Flags().StringVarP(&MergeRequestFlags.Token, "token", "t", "", "gitlab ci token") | ||
| viper.BindPFlag("gitProviderDomain", cmd.Flags().Lookup("endpoint")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Error return value of viper.BindPFlag is not checked (from errcheck)
| viper.BindPFlag("githost", cmd.Flags().Lookup("endpoint")) | ||
| cmd.Flags().StringVarP(&MergeRequestFlags.Token, "token", "t", "", "gitlab ci token") | ||
| viper.BindPFlag("gitProviderDomain", cmd.Flags().Lookup("endpoint")) | ||
| viper.BindPFlag("gitProvider", cmd.Flags().Lookup("gitProvider")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Error return value of viper.BindPFlag is not checked (from errcheck)
| viper.BindPFlag("projectNamespace", cmd.Flags().Lookup("namespace")) | ||
| viper.BindPFlag("projectName", cmd.Flags().Lookup("project")) | ||
| viper.BindPFlag("gitlabCIToken", cmd.Flags().Lookup("token")) | ||
| viper.BindPFlag("token", cmd.Flags().Lookup("token")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Error return value of viper.BindPFlag is not checked (from errcheck)
| viper.GetString("projectName"), | ||
| viper.GetString("token"), | ||
| ) | ||
| break |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
S1023: redundant break statement (from gosimple)
| viper.GetString("projectName"), | ||
| viper.GetString("token"), | ||
| ) | ||
| break |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
S1023: redundant break statement (from gosimple)
No description provided.