Skip to content

Commit 4be2ac3

Browse files
authored
fix: reset config url when skipping pooler (#4387)
1 parent 11bd66d commit 4be2ac3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/link/link.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ func LinkServices(ctx context.Context, projectRef, serviceKey string, skipPooler
6969
func() error { return linkStorage(ctx, projectRef) },
7070
func() error {
7171
if skipPooler {
72+
utils.Config.Db.Pooler.ConnectionString = ""
7273
return fsys.RemoveAll(utils.PoolerUrlPath)
7374
}
7475
return linkPooler(ctx, projectRef, fsys)

0 commit comments

Comments
 (0)