Skip to content

Commit 405ae91

Browse files
committed
Shutdown transformers for jobs in the lookup state
1 parent ae9407c commit 405ae91

File tree

1 file changed

+1
-1
lines changed
  • servicex_app/servicex_app/resources/transformation

1 file changed

+1
-1
lines changed

servicex_app/servicex_app/resources/transformation/cancel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def get(self, request_id: str):
5555

5656
namespace = current_app.config['TRANSFORMER_NAMESPACE']
5757

58-
if transform_req.status == TransformStatus.running:
58+
if transform_req.status in (TransformStatus.running, TransformStatus.lookup):
5959
try:
6060
self.transformer_manager.shutdown_transformer_job(request_id, namespace)
6161
except kubernetes.client.exceptions.ApiException as exc:

0 commit comments

Comments
 (0)