forked from open-policy-agent/opa
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal: Update the return value for typed value null
This commit updates the parser for --set options to return empty struct as return value when null is specified. This is needed to set an empty object with the CLI overrides for a null typed value. Fixes: open-policy-agent#3846 Signed-off-by: Ashutosh Narkar <anarkar4387@gmail.com> Signed-off-by: Dolev Farhi <farhi.dolev@gmail.com>
- Loading branch information
1 parent
6e9540e
commit 2f46a6d
Showing
3 changed files
with
48 additions
and
3 deletions.
There are no files selected for viewing
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
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