X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/0eb72b526bf8bbb011551ecf019f604e17a534f1..402d882ea36afbaff953e60594e470808ebf0579:/apps/workbench/app/models/pipeline_instance.rb diff --git a/apps/workbench/app/models/pipeline_instance.rb b/apps/workbench/app/models/pipeline_instance.rb index dd2cc0ab77..d481f41c7e 100644 --- a/apps/workbench/app/models/pipeline_instance.rb +++ b/apps/workbench/app/models/pipeline_instance.rb @@ -127,10 +127,10 @@ class PipelineInstance < ArvadosBase Keep::Locator.parse(loc_s) end if log_pdhs.any? and - Collection.where(portable_data_hash: log_pdhs).limit(1).results.any? + Collection.where(portable_data_hash: log_pdhs).limit(1).with_count("none").results.any? true elsif log_uuids.any? and - Collection.where(uuid: log_uuids).limit(1).results.any? + Collection.where(uuid: log_uuids).limit(1).with_count("none").results.any? true else stderr_log_query(1).results.any?