From 783b38c9c41d8bd6cdad93a8b72f77cd9219c767 Mon Sep 17 00:00:00 2001 From: Nicolas Corrarello Date: Fri, 3 Nov 2017 07:25:47 +0000 Subject: [PATCH] Not storing the Nomad token as we have the accesor for administrative operations --- builtin/logical/nomad/path_token.go | 1 - 1 file changed, 1 deletion(-) diff --git a/builtin/logical/nomad/path_token.go b/builtin/logical/nomad/path_token.go index 37e268f43..28a397858 100644 --- a/builtin/logical/nomad/path_token.go +++ b/builtin/logical/nomad/path_token.go @@ -71,7 +71,6 @@ func (b *backend) pathTokenRead( "secret_id": token.SecretID, "accessor_id": token.AccessorID, }, map[string]interface{}{ - "secret_id": token.SecretID, "accessor_id": token.AccessorID, }) s.Secret.TTL = result.Lease