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

don't omit on empty for 0 percent #67

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Aftab-tech
Copy link

The fix is to remove the omit empty tag so a value of percent_enabled = 0 does not get dropped by the API.

@jeremy-cxf
Copy link
Contributor

Hello @Aftab-tech thanks for the PR and good spot :)

This should ideally be fixed by changing the field to be an *int so that it can be differentiated between "not provided" and 0.

@Aftab-tech
Copy link
Author

Hello @Aftab-tech thanks for the PR and good spot :)

This should ideally be fixed by changing the field to be an *int so that it can be differentiated between "not provided" and 0.

Ahh I see, thanks, just updated with new commit @jeremy-cxf

@jeremy-cxf
Copy link
Contributor

Thanks, we'll need to change the terraform provider to accommodate for the SDK change, so will align on that.

Cc: @daniel-corbett

@Aftab-tech
Copy link
Author

@daniel-corbett any update on this?

@Aftab-tech
Copy link
Author

Thanks, we'll need to change the terraform provider to accommodate for the SDK change, so will align on that.

Cc: @daniel-corbett

@jeremy-cxf any update?

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