-
Notifications
You must be signed in to change notification settings - Fork 4
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
Deploy Service does not honor space constraint when searching for service instances #3
Comments
I believe I understand what you are saying here... You are suggesting that the code you cited is incorrect, because it is looking for a specific service in a specific space, but it appears to be querying without reference to the space, in which case it may match another service of the same name in the same org. Correct? Did you find this because it has caused you problems, or did you find it only by looking at the code? From what I can see, the url for |
@keerthimr Can you confirm if this is causing you trouble now? |
Sorry looks like i misunderstood the cause of issue.
The |
Ah. I think I see what you are meaning. Sorry for the misunderstanding. I will work on a fix for that. In the mean time, here is a workaround:
|
As seen in the below code:
python-cf-api/cf_api/deploy_service.py
Lines 122 to 124 in 477748b
The understanding from the service is that the service instance is restrained to the space resource that is set already. It causes undefined behavior when there are more than one service instance with the same name in multiple spaces in the same Org (and the user has access to both).
The text was updated successfully, but these errors were encountered: