[ARVADOS] updated: 452baf1ec1b55c6c4613972ee5f6b5ebf28e8ed7

git at public.curoverse.com git at public.curoverse.com
Tue Sep 16 22:32:58 EDT 2014


Summary of changes:
 sdk/cli/bin/arv-run-pipeline-instance | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

       via  452baf1ec1b55c6c4613972ee5f6b5ebf28e8ed7 (commit)
      from  63af4052e2899a275930678bda65d82e857e1a39 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 452baf1ec1b55c6c4613972ee5f6b5ebf28e8ed7
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Tue Sep 16 22:30:21 2014 -0400

    Fix arv-run-pipeline-instance to not crash when template is null.  no issue #

diff --git a/sdk/cli/bin/arv-run-pipeline-instance b/sdk/cli/bin/arv-run-pipeline-instance
index 35b2cd5..c6fd61f 100755
--- a/sdk/cli/bin/arv-run-pipeline-instance
+++ b/sdk/cli/bin/arv-run-pipeline-instance
@@ -578,9 +578,11 @@ class WhRunPipelineInstance
               debuglog "names: #{@instance[:name]} #{@template[:name]}", 0
               if (not @instance[:name].nil?) and (not @instance[:name].empty?)
                 pipeline_name = @instance[:name]
-              else
+              elsif @instance[:pipeline_template_uuid]
                 fetch_template(@instance[:pipeline_template_uuid])
                 pipeline_name = @template[:name]
+              else
+                pipeline_name = "pipeline started #{@instance[:started_at]}"
               end
               if c[:output_name] != false
                 # Create a collection located in the same project as the pipeline with the contents of the output.

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list