Skip to content

Commit

Permalink
Revert setting version default
Browse files Browse the repository at this point in the history
Signed-off-by: albertteoh <albert.teoh@logz.io>
  • Loading branch information
albertteoh committed Mar 10, 2021
1 parent 6b65f2e commit c582fb7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/es/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,6 @@ func (c *Configuration) ApplyDefaults(source *Configuration) {
if c.MaxDocCount == 0 {
c.MaxDocCount = source.MaxDocCount
}
if c.Version == 0 {
c.Version = source.Version
}
}

// GetNumShards returns number of shards from Configuration
Expand Down

0 comments on commit c582fb7

Please sign in to comment.