Skip to content

Commit

Permalink
Fix linter warning
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanseymour committed Apr 25, 2024
1 parent b12425f commit 2af67ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion indexers/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ type IndexDefinition struct {

func newIndexDefinition(base []byte, shards, replicas int) *IndexDefinition {
d := &IndexDefinition{}
jsonx.MustUnmarshal(contactsIndexDef, d)
jsonx.MustUnmarshal(base, d)

d.Settings.Index.NumberOfShards = shards
d.Settings.Index.NumberOfReplicas = replicas
Expand Down

0 comments on commit 2af67ae

Please sign in to comment.