From a18ad24c586b01daf450d080b23731d65647dc53 Mon Sep 17 00:00:00 2001 From: Becca Petrin Date: Fri, 27 Mar 2020 14:05:39 -0700 Subject: [PATCH] Update builtin/logical/rabbitmq/path_role_create.go Co-Authored-By: Vishal Nayak --- builtin/logical/rabbitmq/path_role_create.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/logical/rabbitmq/path_role_create.go b/builtin/logical/rabbitmq/path_role_create.go index 15357bd7814ec..a8cbe08c1fbc6 100644 --- a/builtin/logical/rabbitmq/path_role_create.go +++ b/builtin/logical/rabbitmq/path_role_create.go @@ -82,7 +82,7 @@ func (b *backend) pathCredsRead(ctx context.Context, req *logical.Request, d *fr }() if !isIn200s(resp.StatusCode) { body, _ := ioutil.ReadAll(resp.Body) - return nil, fmt.Errorf("error putting user %s - %d: %s", username, resp.StatusCode, body) + return nil, fmt.Errorf("error creating user %s - %d: %s", username, resp.StatusCode, body) } success := false