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 @@ -44,7 +44,6 @@ import (
44
44
"github.com/coder/coder/coderd/autobuild/executor"
45
45
"github.com/coder/coder/coderd/database"
46
46
"github.com/coder/coder/coderd/database/databasefake"
47
- "github.com/coder/coder/coderd/database/postgres"
48
47
"github.com/coder/coder/coderd/devtunnel"
49
48
"github.com/coder/coder/coderd/gitsshkey"
50
49
"github.com/coder/coder/coderd/tracing"
@@ -254,11 +253,6 @@ func server() *cobra.Command {
254
253
_ , _ = fmt .Fprintln (cmd .ErrOrStderr ())
255
254
256
255
if ! dev {
257
- postgresURL , cleanup , err := postgres .Open ()
258
- if err != nil {
259
- return xerrors .Errorf ("open postgres: %w" , err )
260
- }
261
- defer cleanup ()
262
256
sqlDB , err := sql .Open (sqlDriver , postgresURL )
263
257
if err != nil {
264
258
return xerrors .Errorf ("dial postgres: %w" , err )
You can’t perform that action at this time.
0 commit comments