Skip to content

Commit

Permalink
Removed valid tag from enabled field
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohanraj123 committed Dec 6, 2024
1 parent 68df496 commit 6ca42c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/es/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ type IndexCleaner struct {
// Rollover struct for configuring roll over
type Rollover struct {
// Enabled specifies whether the rollover functionality is enabled.
Enabled bool `mapstructure:"enabled" valid:"required"`
Enabled bool `mapstructure:"enabled"`
// Frequency specifies the interval at which the rollover process runs.
Frequency time.Duration `mapstructure:"frequency" validate:"gt=0"`
}
Expand Down

0 comments on commit 6ca42c2

Please sign in to comment.