Skip to content

Commit

Permalink
Fixed: --force flag was not considered, --lazy needed to be also spec…
Browse files Browse the repository at this point in the history
…ified
  • Loading branch information
blackandred committed Jun 28, 2019
1 parent 6719e64 commit f420eef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
CHANGES
=======

* Fixed types casting in arguments passing from CLI
* Fixed types casting in arguments passing from CLI
* Hotfix: Fixed 503 on HTTP caused by missing new params
* Updated suggestion in reference in docs
Expand Down
2 changes: 1 addition & 1 deletion infracheck/infracheck/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def perform_checks(self, force: bool, wait_time: int = 0, lazy=False):
config = self.config_loader.load(config_name)

if not result:
if lazy:
if lazy or force:
result = self.runner.run(config['type'], config['input'], config.get('hooks', {}))
self.repository.push_to_cache(config_name, result)
else:
Expand Down

0 comments on commit f420eef

Please sign in to comment.