-
Notifications
You must be signed in to change notification settings - Fork 80
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
Adding Group, Version, Kind in Update proxy_store.go #270
Conversation
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.
Probably don't overwrite supplied values?
Added a check based in our conversation. Should we consider a situation where the user provides only one of the values and we complete only the other one ? Can this generate any kind of inconsistency ? |
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.
Looks ok to me. I don't see an inconsistency if only one value is specified -- defaults and specified values work the same way elsewhere, like command-line options
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.
I see we have lots of fmt.Errorf(STRING)
but we shouldn't add more.
Everything else looks fine.
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.
Looks good
This is related to rancher/rancher issue: 42823