From 1102863f5afff11a4b9456eb88ba920ed3590917 Mon Sep 17 00:00:00 2001 From: Kevin Pike Date: Fri, 8 Apr 2016 09:07:06 -0700 Subject: [PATCH] Update comment --- 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 aafab011e..23e2deddb 100644 --- a/builtin/logical/rabbitmq/path_role_create.go +++ b/builtin/logical/rabbitmq/path_role_create.go @@ -51,12 +51,12 @@ func (b *backend) pathRoleCreateRead( lease = &configLease{Lease: 1 * time.Hour} } - // Generate the username, password and expiration. PG limits user to 63 characters displayName := req.DisplayName if len(displayName) > 26 { displayName = displayName[:26] } username := fmt.Sprintf("%s-%s", displayName, uuid.GenerateUUID()) + // Generate the username, password and expiration. Limit user to 63 characters if len(username) > 63 { username = username[:63] }