We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fea2f7e commit 2f6cc24Copy full SHA for 2f6cc24
actions/executions_cancel.py
@@ -12,7 +12,7 @@ def run(self, ids):
12
for i in ids:
13
try:
14
res = self.client.executions.delete_by_id(instance_id=i)
15
- if 'faultstring' in res and res['faultstring']:
+ if res.get('faultstring'):
16
success = False
17
except Exception as exc:
18
result[i] = str(exc)
0 commit comments