Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only implement policy.json if an override is configured
With I810b6cb6bba2d95cc5bb477d6e2968ac1734c96b merged there is no longer a default policy.json file in the venv, so we need to change how we implement the file, and should only do so if there is a config override configured for it. If there is no policy override configured, but a policy.json file is present, then it's likely left over from a previous build. To ensure that we do not carry legacy configuration files which override the policy-in-code we remove the legacy file. This is done on restart to ensure that the policy still applies until the code is updated. Change-Id: Ib3447cd5b0bcada4cdf82d9e4a9fe5160299f9c3
- Loading branch information
Jesse Pretorius
committed
Jan 11, 2019
1 parent
a4f0db7
commit 7c90daa
Showing
3 changed files
with
17 additions
and
18 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 was deleted.
Oops, something went wrong.