File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,6 @@ import (
42
42
"github.com/coder/coder/coderd/autobuild/executor"
43
43
"github.com/coder/coder/coderd/database"
44
44
"github.com/coder/coder/coderd/database/databasefake"
45
- "github.com/coder/coder/coderd/database/postgres"
46
45
"github.com/coder/coder/coderd/devtunnel"
47
46
"github.com/coder/coder/coderd/gitsshkey"
48
47
"github.com/coder/coder/coderd/tracing"
@@ -250,11 +249,6 @@ func server() *cobra.Command {
250
249
_ , _ = fmt .Fprintln (cmd .ErrOrStderr ())
251
250
252
251
if ! dev {
253
- postgresURL , cleanup , err := postgres .Open ()
254
- if err != nil {
255
- return xerrors .Errorf ("open postgres: %w" , err )
256
- }
257
- defer cleanup ()
258
252
sqlDB , err := sql .Open (sqlDriver , postgresURL )
259
253
if err != nil {
260
254
return xerrors .Errorf ("dial postgres: %w" , err )
You can’t perform that action at this time.
0 commit comments