Skip to content

Commit

Permalink
Update builtin/logical/rabbitmq/path_role_create.go
Browse files Browse the repository at this point in the history
Co-Authored-By: Vishal Nayak <vishalnayak@users.noreply.github.com>
  • Loading branch information
tyrannosaurus-becks and vishalnayak committed Mar 27, 2020
1 parent 0c12db2 commit a18ad24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin/logical/rabbitmq/path_role_create.go
Expand Up @@ -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
Expand Down

0 comments on commit a18ad24

Please sign in to comment.