forked from netbox-community/go-netbox
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: allow permissions constraint to be nullable
With the current configuration, if we pass a null value to clear the constraint field and make it null, the field is ommitted and thus no changes are made. With this change, we update the field to remove omitempty, which allows us to send a null value to the field, thus clearing it when it's empty. Critical part of the fix here: e-breuninger/terraform-provider-netbox#432
- Loading branch information
Showing
3 changed files
with
7 additions
and
4 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters