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

Smctl register-broker URL validation #85

Open
stefanvassilev opened this issue Oct 21, 2020 · 0 comments
Open

Smctl register-broker URL validation #85

stefanvassilev opened this issue Oct 21, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@stefanvassilev
Copy link

Issue Template

Step 1: Is this issue for here?

most likely

Step 2: Describe the problem (very short text description)

Calling smctl register-broker passing url ending with a / results in error as the resulting call to the service broker contains the extra slash

call received by service broker:

GET //v2/catalog HTTP/1.1" 400

Step 3: Describe the problem (steps):

smctl register-broker BROKER_NAME https://*/ -b ****:****

Observed Results:

Error: request POST .... failed: Status code: 400 Body: {"error":"ServiceBrokerErr","description":"error fetching catalog for broker with name *****: broker responded with 400 Bad Request"}
@EpsilonTal EpsilonTal added the enhancement New feature or request label Dec 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants