Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Regression fix: not purged object is not purged after 'purge --local'
call_action -> self.setup_environ -> os.environ['OPENSVC_SVC_ID'] = self.id -> create object if object is absent and not self.volatile So after purge/delete action the object is recreated The regression was introduced by #817b97660894971e18689393c6090d1a57a901c6 Reproduce bug with: om foo create om foo purge --local om foo ls
- Loading branch information
Showing
2 changed files
with
22 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