Skip to content

Commit b47480c

Browse files
committed
remove postgres dev hack
1 parent 2d22d74 commit b47480c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

cli/server.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ import (
4242
"github.com/coder/coder/coderd/autobuild/executor"
4343
"github.com/coder/coder/coderd/database"
4444
"github.com/coder/coder/coderd/database/databasefake"
45-
"github.com/coder/coder/coderd/database/postgres"
4645
"github.com/coder/coder/coderd/devtunnel"
4746
"github.com/coder/coder/coderd/gitsshkey"
4847
"github.com/coder/coder/coderd/tracing"
@@ -250,11 +249,6 @@ func server() *cobra.Command {
250249
_, _ = fmt.Fprintln(cmd.ErrOrStderr())
251250

252251
if !dev {
253-
postgresURL, cleanup, err := postgres.Open()
254-
if err != nil {
255-
return xerrors.Errorf("open postgres: %w", err)
256-
}
257-
defer cleanup()
258252
sqlDB, err := sql.Open(sqlDriver, postgresURL)
259253
if err != nil {
260254
return xerrors.Errorf("dial postgres: %w", err)

0 commit comments

Comments
 (0)