Skip to content
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

Add requested parameters when not in existing service instance #935

Merged
merged 2 commits into from May 23, 2018

Conversation

djzager
Copy link
Member

@djzager djzager commented May 8, 2018

Add the requested update parameter to the changed parameters when not found in the existing serviceinstance.

Fixes: #934

@openshift-ci-robot openshift-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels May 8, 2018
@@ -1398,6 +1398,7 @@ func (a AnsibleBroker) validateRequestedUpdateParams(
// can make sense of them.
log.Noticef("Requested update parameter: [%v] with the value of [%v] was found " +
"in an update request, but it did not exist on the previous service instance.")
changedParams[reqParam] = reqVal
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this is all we are going to do then we should just remove the entire if/else chain and always update IMO

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not against that.

@openshift-ci-robot openshift-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels May 8, 2018
@djzager djzager changed the title [WIP] Add requested parameters when not in existing service instance Add requested parameters when not in existing service instance May 8, 2018
@openshift-ci-robot openshift-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label May 8, 2018
Copy link
Contributor

@jmrodri jmrodri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK

@djzager djzager added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 14, 2018
@djzager
Copy link
Member Author

djzager commented May 14, 2018

This should go against master once release-1.2 branch is created.

@rthallisey rthallisey added the 3.10 | release-1.2 Kubernetes 1.10 | Openshift 3.10 | Broker release-1.2 label May 15, 2018
@djzager djzager added 3.11 | release-1.3 Kubernetes 1.11 | Openshift 3.11 | Broker release-1.3 and removed 3.10 | release-1.2 Kubernetes 1.10 | Openshift 3.10 | Broker release-1.2 do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. labels May 15, 2018
@djzager djzager merged commit bda4096 into openshift:master May 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.11 | release-1.3 Kubernetes 1.11 | Openshift 3.11 | Broker release-1.3 needs-review size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants