From b78e32249c091d286180068697eda1ab13f8ec0a Mon Sep 17 00:00:00 2001 From: Andrew Benton Date: Fri, 19 Jul 2024 15:27:59 -0700 Subject: [PATCH] fix(dbmanager): Add leading slash to db uri path rewrite (#3493) --- internal/dbmanager/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/dbmanager/client.go b/internal/dbmanager/client.go index e401ab1467..2c7d781081 100644 --- a/internal/dbmanager/client.go +++ b/internal/dbmanager/client.go @@ -72,7 +72,7 @@ func (m *ManagedClient) CreateDatabase(ctx context.Context, req *CreateDatabaseR if err != nil { return nil, err } - uri.Path = name + uri.Path = "/" + name key := uri.String() _, err, _ = flight.Do(key, func() (interface{}, error) {