projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
18995: Merge branch 'main' into 18995-code-cleanup-5
[arvados.git]
/
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 1c14efffa673ea20d94da71a71230bdcc5ffa5cb..d481f41c7eab37b0f8ba0192ba9e17438fd3803e 100644
(file)
--- a/
apps/workbench/app/models/pipeline_instance.rb
+++ b/
apps/workbench/app/models/pipeline_instance.rb
@@
-1,3
+1,7
@@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
require "arvados/keep"
class PipelineInstance < ArvadosBase
require "arvados/keep"
class PipelineInstance < ArvadosBase
@@
-123,10
+127,10
@@
class PipelineInstance < ArvadosBase
Keep::Locator.parse(loc_s)
end
if log_pdhs.any? and
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
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?
true
else
stderr_log_query(1).results.any?