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

support resource instance's parameter to be an array type #1953

Merged
merged 3 commits into from
Oct 9, 2020
Merged

support resource instance's parameter to be an array type #1953

merged 3 commits into from
Oct 9, 2020

Conversation

JunliWang
Copy link
Contributor

@JunliWang JunliWang commented Oct 8, 2020

in our previous sample private_ip_allowlist = ["1.0.0.0/32", "1.0.0.1/32"] does not work.
in this format, RC gives error The provision request did not contain a valid JSON object
If I change the body to be private_ip_allowlist = "[\"1.0.0.0/32\", \"1.0.0.1/32\"]", our service broker is not able to unmarshal it because it is expected to be a []string
So we will need to transfrom this string parameter into an array.

@hkantare hkantare merged commit e915d46 into IBM-Cloud:master Oct 9, 2020
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 this pull request may close these issues.

2 participants