-
Notifications
You must be signed in to change notification settings - Fork 5
APP-1540 - Added incremental application update support by remove-lab… #57
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
|
All contributors have signed the CLA ✍️ ✅ |
|
I have read the CLA Document and I hereby sign the CLA |
671e5da to
ccbe411
Compare
Test Results0 tests 0 ✅ 0s ⏱️ Results for commit d0fad61. ♻️ This comment has been updated with latest results. |
| if ctx.IsFlagSet(commands.AddLabelsFlag) { | ||
| addLabels, err := utils.ParseLabelKeyValuePairs(ctx.GetStringFlagValue(commands.AddLabelsFlag)) | ||
| if err != nil { | ||
| return err |
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.
pls wrap the error with more context about the failure, i.e. "failed to parse add-labels"
(and similarly for other errors)
| return result, nil | ||
| } | ||
|
|
||
| func ParseLabelKeyValuePairs(flagValue string) ([]model.LabelKeyValue, error) { |
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.
pls add unit tests
d0fad61 to
76041b1
Compare
…els and add-labels flags
mainbranch.go vet ./....go fmt ./....