From c16a484d15147f23ecf91a556d8cfa495bb79881 Mon Sep 17 00:00:00 2001 From: Alex Iribarren <Alex.Iribarren@cern.ch> Date: Tue, 18 Sep 2018 16:26:35 +0200 Subject: [PATCH] Try again --- reposync_scheduler.nomad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reposync_scheduler.nomad b/reposync_scheduler.nomad index 22798c0..272f3e7 100644 --- a/reposync_scheduler.nomad +++ b/reposync_scheduler.nomad @@ -30,7 +30,7 @@ job "reposync_scheduler" { } template { data = <<EOF - NOMAD_TOKEN="{{ with secret "nomad/creds/write" }}{{.Data}}{{end}}" + NOMAD_TOKEN="{{ with secret "nomad/creds/write" }}{{.Data.secret_id}}{{end}}" EOF destination = "secrets/nomad_token.env" env = true -- GitLab