Skip to content

Commit

Permalink
feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver-sanders committed Sep 4, 2020
1 parent 323bb15 commit ce09734
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cylc/uiserver/data_store_mgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
apply_delta, generate_checksum, create_delta_store
)
from cylc.flow.suite_files import ContactFileFields as CFF
from cylc.flow.network.suite_status import SuiteStatus

from .workflows_mgr import workflow_request

Expand Down Expand Up @@ -90,7 +91,7 @@ def update_contact(self, w_id, contact_data=None):
flow.port = 0
# flow.pub_port = 0
flow.api_version = 0
flow.status = 'stopped'
flow.status = SuiteStatus.Stopped.value

# Apply to existing workflow data
apply_delta(WORKFLOW, delta, self.data[w_id])
Expand Down

0 comments on commit ce09734

Please sign in to comment.