Skip to content

Commit

Permalink
Fixing hanging destroy operation
Browse files Browse the repository at this point in the history
  • Loading branch information
tewfik-ghariani authored and adisbladis committed Jun 11, 2020
1 parent ebc78be commit 2f757f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nixops/deployment.py
Expand Up @@ -1479,8 +1479,8 @@ def worker(m: nixops.resources.GenericResourceState) -> None:
return
try:
for dep in m._wait_for:
if dep._destroyed_event:
dep._destroyed_event.wait()
if dep._created_event:
dep._created_event.wait()
# !!! Should we print a message here?
if dep._errored:
m._errored = True
Expand Down

0 comments on commit 2f757f0

Please sign in to comment.