projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'origin/master' into 15106-trgm-text-search
[arvados.git]
/
apps
/
workbench
/
app
/
models
/
container_request.rb
diff --git
a/apps/workbench/app/models/container_request.rb
b/apps/workbench/app/models/container_request.rb
index 62d8bff042c16dec335f746ff6f0991e5e37250e..3c08d94989e0eba7231fb8db6b7318aa693e0bfe 100644
(file)
--- a/
apps/workbench/app/models/container_request.rb
+++ b/
apps/workbench/app/models/container_request.rb
@@
-1,3
+1,7
@@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
class ContainerRequest < ArvadosBase
def self.creatable?
false
class ContainerRequest < ArvadosBase
def self.creatable?
false
@@
-7,7
+11,11
@@
class ContainerRequest < ArvadosBase
[ 'description' ]
end
[ 'description' ]
end
- def work_unit(label=nil)
- ContainerWorkUnit.new(self, label)
+ def self.goes_in_projects?
+ true
+ end
+
+ def work_unit(label=nil, child_objects=nil)
+ ContainerWorkUnit.new(self, label, self.uuid, child_objects=child_objects)
end
end
end
end