Skip to content
This repository has been archived by the owner on Jul 25, 2022. It is now read-only.

Commit

Permalink
- remove skip_if_satisfied from the stateful object
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsonw committed Jun 15, 2020
1 parent 5441a4b commit 7990c4d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion chroma_core/models/client_mount.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ class LustreClientMount(DeletableStatefulObject):

states = ["unmounted", "mounted", "removed"]
initial_state = "unmounted"
skip_if_satisfied = True

def __str__(self):
return self.get_label()
Expand Down
3 changes: 1 addition & 2 deletions chroma_core/models/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ class Meta:
route_map = None
transition_map = None
job_class_map = None
skip_if_satisfied = False
_begin_state = None
_end_state = None

Expand Down Expand Up @@ -445,7 +444,7 @@ def all_deps(self, dep_cache):

dependent_deps.append(
DependOn(
dependent, dependent_dependency.fix_state, skip_if_satisfied=dependent.skip_if_satisfied
dependent, dependent_dependency.fix_state, skip_if_satisfied=self.skip_if_satisfied
)
)

Expand Down

0 comments on commit 7990c4d

Please sign in to comment.