projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b00bc4b
)
Fix "undefined method `uuid' for nil:NilClass". closes #3576
author
Tom Clegg <tom@curoverse.com>
Tue, 12 Aug 2014 18:15:51 +0000
(14:15 -0400)
committer
Tom Clegg <tom@curoverse.com>
Tue, 12 Aug 2014 18:15:51 +0000
(14:15 -0400)
services/api/app/models/job.rb
patch
|
blob
|
history
diff --git
a/services/api/app/models/job.rb
b/services/api/app/models/job.rb
index fc445ae24edb5977a2092f7d92af86c300eb21ad..1ef0b797c044574a2b9eba72e1fcbd0aeba77e16 100644
(file)
--- a/
services/api/app/models/job.rb
+++ b/
services/api/app/models/job.rb
@@
-191,7
+191,7
@@
class Job < ArvadosModel
if self.cancelled_at and not self.cancelled_at_was
self.cancelled_at = Time.now
self.cancelled_by_user_uuid = current_user.uuid
- self.cancelled_by_client_uuid = current_api_client.uuid
+ self.cancelled_by_client_uuid = current_api_client.
andand.
uuid
@need_crunch_dispatch_trigger = true
else
self.cancelled_at = self.cancelled_at_was