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

Changes to target server port not detected - fix type error #30

Merged
merged 1 commit into from
Nov 1, 2019

Conversation

jonohill
Copy link
Contributor

@jonohill jonohill commented May 3, 2019

Hello!

Thank you for creating this project - something like terraform is much needed for Apigee and I expect this will be very helpful.
I did some testing and noticed that changes made to the port number of a target server weren't being detected by terraform. I suspected that this was a type error, and as a test if I handle the error from d.Set("port", targetServerData.Port) I see expected type 'string', got unconvertible type 'int'. Proposed fix is to convert similar to when setting the data.

@zambien zambien merged commit 931bb39 into zambien:master Nov 1, 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 this pull request may close these issues.

2 participants