Skip to content

Commit

Permalink
chore: fix analytics defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
markphelps committed Feb 6, 2024
1 parent fac4df5 commit bcaef1a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions internal/config/analytics.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,11 @@ func (c *ClickhouseConfig) Options() (*clickhouse.Options, error) {
//nolint:unparam
func (a *AnalyticsConfig) setDefaults(v *viper.Viper) error {
v.SetDefault("analytics", map[string]any{
"clickhouse": map[string]any{
"enabled": "false",
"url": "",
"storage": map[string]any{
"clickhouse": map[string]any{
"enabled": "false",
"url": "",
},
},
"buffer": map[string]any{
"flush_period": "10s",
Expand Down

0 comments on commit bcaef1a

Please sign in to comment.