Skip to content

Commit

Permalink
chore: cleanup debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
avallete committed Sep 9, 2024
1 parent 3dd5b93 commit 4e3898e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/db/reset/reset.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,10 +206,8 @@ func RestartDatabase(ctx context.Context, w io.Writer) error {
}

func restartServices(ctx context.Context) error {
debug := utils.GetDebugLogger()
// No need to restart PostgREST because it automatically reconnects and listens for schema changes
services := listServicesToRestart()
fmt.Fprintf(debug, "Enabled services to restart: %v\n", services)

result := utils.WaitAll(services, func(id string) error {
if err := utils.Docker.ContainerRestart(ctx, id, container.StopOptions{}); err != nil && !errdefs.IsNotFound(err) {
Expand Down

0 comments on commit 4e3898e

Please sign in to comment.