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.
storage/inmem: Create path if does not exist during truncate (open-po…
…licy-agent#4853) A data write performed at a non-root nonexistent path in the im-memory store during a trucnate op would cause a storage not found error. This change creates a path if one does not exist before writing data. Signed-off-by: Ashutosh Narkar <[email protected]>
- Loading branch information
1 parent
f9945ee
commit cfa5c6e
Showing
2 changed files
with
65 additions
and
0 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