-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Eliminate nil/empty distinction for new v1 field #14532
Conversation
[test] |
/cc @liggitt |
LGTM, would like second from @jim-minter as original author |
@ironcladlou thanks for doing this. Please additionally remove line https://github.com/openshift/origin/blob/master/test/extended/templates/templateservicebroker_e2e.go#L145 ( |
also - is there any documentation / unit test that already exists or which can be put in place to prevent people like me making this mistake again? |
Thanks!
@liggitt had a test in a related upstream PR which ensured that slice fields missing @liggitt, does such a unit test seem valuable here? |
Ensure there is no internal or external distinction between nil and empty BrokerTemplateInstanceSpec.BindingIDs to enable maximum compatibility with stored serialized typed (e.g. protobufs).
23445c3
to
6bd4c9d
Compare
Hit a test flake. Went ahead and squashed to try one more run before merging. ref #14573 |
Evaluated for origin test up to 6bd4c9d |
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin/2165/) (Base Commit: 6d3e523) |
[merge] |
Evaluated for origin merge up to 6bd4c9d |
[severity:bug] |
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_request_origin/1001/) (Base Commit: 2df56bd) (Extended Tests: bug) (Image: devenv-rhel7_6361) |
Ensure there is no internal or external distinction between nil and
empty BrokerTemplateInstanceSpec.BindingIDs to enable maximum
compatibility with stored serialized types (e.g. protobufs).
Part of #13419.