Skip to content

Commit

Permalink
fix(dbmanager): Add leading slash to db uri path rewrite (#3493)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewmbenton authored Jul 19, 2024
1 parent 4f930bc commit b78e322
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/dbmanager/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit b78e322

Please sign in to comment.