X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/1875ddb761e4ae2909d2afe0718f3d0ad5f3ce0f..d13ad5bbb7f5e74cb43d0570d9d1a8159237f5ff:/services/api/app/models/job.rb diff --git a/services/api/app/models/job.rb b/services/api/app/models/job.rb index fc445ae24e..9fc58a6806 100644 --- a/services/api/app/models/job.rb +++ b/services/api/app/models/job.rb @@ -28,7 +28,6 @@ class Job < ArvadosModel t.add :started_at t.add :finished_at t.add :output - t.add :output_is_persistent t.add :success t.add :running t.add :is_locked_by_uuid @@ -118,7 +117,7 @@ class Job < ArvadosModel self.docker_image_locator = nil true elsif coll = Collection.for_latest_docker_image(image_search, image_tag) - self.docker_image_locator = coll.uuid + self.docker_image_locator = coll.portable_data_hash true else errors.add(:docker_image_locator, "not found for #{image_search}") @@ -191,7 +190,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