X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/4f03b29b3efb42a48c3f397942d5b618b89390eb..a12864a31d5569c74ed32157d5fe928a1c2563b7:/services/crunch-run/crunchrun.go diff --git a/services/crunch-run/crunchrun.go b/services/crunch-run/crunchrun.go index e13033edb3..971cb3a27a 100644 --- a/services/crunch-run/crunchrun.go +++ b/services/crunch-run/crunchrun.go @@ -637,7 +637,7 @@ func (runner *ContainerRunner) CaptureOutput() error { err = runner.ArvClient.Create("collections", arvadosclient.Dict{ "collection": arvadosclient.Dict{ - "expires_at": time.Now().Add(runner.trashLifetime).Format(time.RFC3339), + "trash_at": time.Now().Add(runner.trashLifetime).Format(time.RFC3339), "name": "output for " + runner.Container.UUID, "manifest_text": manifestText}}, &response) @@ -708,7 +708,7 @@ func (runner *ContainerRunner) CommitLogs() error { err = runner.ArvClient.Create("collections", arvadosclient.Dict{ "collection": arvadosclient.Dict{ - "expires_at": time.Now().Add(runner.trashLifetime).Format(time.RFC3339), + "trash_at": time.Now().Add(runner.trashLifetime).Format(time.RFC3339), "name": "logs for " + runner.Container.UUID, "manifest_text": mt}}, &response)