From 239a9a99857c45a781205c485a0ae8fd66d83c3d Mon Sep 17 00:00:00 2001 From: Nicolas Corrarello Date: Wed, 29 Nov 2017 16:19:31 +0000 Subject: [PATCH] %q quotes automatically Signed-off-by: Nicolas Corrarello --- builtin/logical/nomad/path_creds_create.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/logical/nomad/path_creds_create.go b/builtin/logical/nomad/path_creds_create.go index ccca87f5a..bfdfdf35c 100644 --- a/builtin/logical/nomad/path_creds_create.go +++ b/builtin/logical/nomad/path_creds_create.go @@ -34,7 +34,7 @@ func (b *backend) pathTokenRead( return nil, fmt.Errorf("error retrieving role: %v", err) } if role == nil { - return logical.ErrorResponse(fmt.Sprintf("Role '%q' not found", name)), nil + return logical.ErrorResponse(fmt.Sprintf("Role %q not found", name)), nil } // Determine if we have a lease configuration