-
Notifications
You must be signed in to change notification settings - Fork 0
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
convert all underscore fields to camel case #266
Comments
Comment by papineni87 Looks like acceptance test is failing for this change BIGIP_USER=admin BIGIP_PASSWORD=xxxxx BIGIP_HOST=10.145.69.41 TF_ACC=1 go test ./bigip -v -run=TestAccBigipLtmPolicy_create
May be we should not convert all parameters to camel case, we should convert only specific parameters as defined in policy structure. Can you check it once. |
Comment by thorhs For me, leaving out What I suppose is happening is that there is no Tm_name in the F5 data structure, so it is being silently ignored. Below is an example of the failing JSON, when run using this PR:
And here is the JSON from the master branch version of the code:
As you can see, there is no tm_name being sent over the wire when using the master branch. Removing the tm_name from the test case makes the tests run successfully again. |
Issue by the-player777
Wednesday Jan 15, 2020 at 12:46 GMT
Originally opened as https://github.com/terraform-providers/terraform-provider-bigip/pull/235
Fixing issue #119
the-player777 included the following code: https://github.com/terraform-providers/terraform-provider-bigip/pull/235/commits
The text was updated successfully, but these errors were encountered: