From 8bf16eaf1211321542d404aad4ad71120f6043c0 Mon Sep 17 00:00:00 2001 From: marcel Date: Wed, 17 Jul 2019 21:38:56 +0200 Subject: [PATCH] Fix 'Found more than one unified job' bug --- tower_cli/cli/transfer/send.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tower_cli/cli/transfer/send.py b/tower_cli/cli/transfer/send.py index 94557fc0..65470216 100644 --- a/tower_cli/cli/transfer/send.py +++ b/tower_cli/cli/transfer/send.py @@ -899,7 +899,7 @@ def validate_workflow_nodes(self, nodes): unified_job_results = client.request( 'get', "unified_job_templates", - {'name': job_name, 'type__contains': job_type} + {'name': job_name, 'type__startswith': job_type} ) # If it failed, move on