Skip to content

Commit

Permalink
Fix acctests
Browse files Browse the repository at this point in the history
  • Loading branch information
tobio committed Jan 15, 2025
1 parent cb02066 commit 3e169ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/elasticsearch/index/data_stream_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
)

func TestAccResourceDataStream(t *testing.T) {
// generate renadom name
// generate random name
dsName := sdkacctest.RandStringFromCharSet(22, sdkacctest.CharSetAlpha)

resource.Test(t, resource.TestCase{
Expand Down
2 changes: 1 addition & 1 deletion internal/elasticsearch/index/ilm.go
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ var ilmActionSettingOptions = map[string]struct {
"allow_write_after_shrink": {def: false, minVersion: version.Must(version.NewVersion("8.14.0"))},
"number_of_replicas": {skipEmptyCheck: true},
"priority": {skipEmptyCheck: true},
"max_primary_shard_docs": {minVersion: MaxPrimaryShardDocsMinSupportedVersion},
"max_primary_shard_docs": {def: 0, minVersion: MaxPrimaryShardDocsMinSupportedVersion},
"min_age": {def: "", minVersion: RolloverMinConditionsMinSupportedVersion},
"min_docs": {def: 0, minVersion: RolloverMinConditionsMinSupportedVersion},
"min_size": {def: "", minVersion: RolloverMinConditionsMinSupportedVersion},
Expand Down

0 comments on commit 3e169ec

Please sign in to comment.