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

serviceID ,operation ,plan_id will always be nil #52

Open
mackwong opened this issue Dec 11, 2019 · 0 comments · May be fixed by #53
Open

serviceID ,operation ,plan_id will always be nil #52

mackwong opened this issue Dec 11, 2019 · 0 comments · May be fixed by #53

Comments

@mackwong
Copy link

mackwong commented Dec 11, 2019

Accroding to
https://github.com/openservicebrokerapi/servicebroker/blob/v2.12/spec.md#request-1,
operation ,operation ,plan_id are in query,

/v2/service_instances/4510f942-43d8-41a7-8c4e-80a3c9ec3e1d/last_operation?operation=Deprovision&plan_id=ebd00cf7-3d2a-465f-b10c-b9b90a01badf&service_id=558888d1-f00a-3176-01e4-05cd2d68eb18

But because of following:

serviceID := vars[osb.VarKeyServiceID]

planID := vars[osb.VarKeyPlanID]

operation := vars[osb.VarKeyOperation]

operation ,operation ,plan_id will always be nil

@mackwong mackwong linked a pull request Dec 11, 2019 that will close this issue
@mackwong mackwong changed the title operation ,operation ,plan_id will always be nil serviceID ,operation ,plan_id will always be nil Dec 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant