Skip to content

Commit

Permalink
chore: remove syslog config
Browse files Browse the repository at this point in the history
  • Loading branch information
sweatybridge committed Oct 7, 2024
1 parent 73b591c commit b045039
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions internal/db/reset/reset.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,6 @@ func resetDatabase15(ctx context.Context, version string, fsys afero.Fs, options
if err := utils.Docker.VolumeRemove(ctx, utils.DbId, true); err != nil {
return errors.Errorf("failed to remove volume: %w", err)
}
// Skip syslog if vector container is not started
if _, err := utils.Docker.ContainerInspect(ctx, utils.VectorId); err != nil {
utils.Config.Analytics.Enabled = false
}
config := start.NewContainerConfig()
hostConfig := start.NewHostConfig()
networkingConfig := network.NetworkingConfig{
Expand Down
2 changes: 0 additions & 2 deletions internal/db/start/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ func Run(ctx context.Context, fsys afero.Fs) error {
} else if !errors.Is(err, utils.ErrNotRunning) {
return err
}
// Skip logflare container in db start
utils.Config.Analytics.Enabled = false
err := StartDatabase(ctx, fsys, os.Stderr)
if err != nil {
if err := utils.DockerRemoveAll(context.Background(), os.Stderr, utils.Config.ProjectId); err != nil {
Expand Down

0 comments on commit b045039

Please sign in to comment.