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
pass provision credentials during deprovision #821
pass provision credentials during deprovision #821
Conversation
| log.Debug("already have this instance returning 200") | ||
| return &ProvisionResponse{}, ErrorAlreadyProvisioned | ||
| si, err := a.dao.GetServiceInstance(instanceUUID.String()) | ||
| if err != nil && !a.dao.IsNotFoundError(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.
changed to avoid ignoring other errors
|
This is currently failing because certain params are not being passed to the playbook. They include @maleck13 can you take a look and see if that is the case? |
|
@shawn-hurley Yes I will take a look thanks for the help. We were passing serviceinstance.params so likely I need to build up the params map in a similar way as we do in the provision method |
|
This should be ok now. deprovision from master shows deprovision from this branch shows |
|
@shawn-hurley I believe this change is good to go now |
| @@ -23,6 +23,10 @@ broker: $(SOURCES) ## Build the broker | |||
| build: broker ## Build binary from source | |||
| @echo > /dev/null | |||
|
|
|||
| generate: ## regenerate mocks | |||
| go get github.com/vektra/mockery/.../ | |||
| @go generate ./... | |||
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 hate so many of the go tools, they totally don't work with symlinks. UGH! The minute I move to a real directory, it works.
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 will fix this after this PR gets merged. Looks like there might be a workaround to work with symlinks
vektra/mockery#157 (comment)
| @@ -23,6 +23,10 @@ broker: $(SOURCES) ## Build the broker | |||
| build: broker ## Build binary from source | |||
| @echo > /dev/null | |||
|
|
|||
| generate: ## regenerate mocks | |||
| go get github.com/vektra/mockery/.../ | |||
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.
@maleck13 is there a reason why we didn't prepend the go get line with @?
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.
Thanks looks good.
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 @maleck13!
Describe what this PR does and why we need it:
Changes proposed in this pull request
Which issue this PR fixes (This will close that issue when PR gets merged)
fixes #818