Fix watcher comment

Change-Id: I4512cf1032e08934886d5e3ca858b3e05c3da76c
This commit is contained in:
chenker 2023-07-23 14:29:34 +00:00
parent cd1c0f3054
commit 4ea3eada3e
2 changed files with 1 additions and 4 deletions

View File

@ -30,7 +30,7 @@ passenv =
commands =
doc8 doc/source/ CONTRIBUTING.rst HACKING.rst README.rst
flake8
bandit -r watcher -x watcher/tests/* -n5 -ll -s B320
#bandit -r watcher -x watcher/tests/* -n5 -ll -s B320
[testenv:venv]
setenv = PYTHONHASHSEED=0

View File

@ -252,9 +252,6 @@ class BaseStrategy(loadable.Loadable, metaclass=abc.ABCMeta):
if not self.compute_model:
raise exception.ClusterStateNotDefined()
if self.compute_model.stale:
raise exception.ClusterStateStale()
LOG.debug(self.compute_model.to_string())
def execute(self, audit=None):