Skip to content

Commit 2430e93

Browse files
committed
Fix acctests
1 parent f00d416 commit 2430e93

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

internal/elasticsearch/index/data_stream_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
)
1313

1414
func TestAccResourceDataStream(t *testing.T) {
15-
// generate renadom name
15+
// generate random name
1616
dsName := sdkacctest.RandStringFromCharSet(22, sdkacctest.CharSetAlpha)
1717

1818
resource.Test(t, resource.TestCase{

internal/elasticsearch/index/ilm.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ var ilmActionSettingOptions = map[string]struct {
580580
"allow_write_after_shrink": {def: false, minVersion: version.Must(version.NewVersion("8.14.0"))},
581581
"number_of_replicas": {skipEmptyCheck: true},
582582
"priority": {skipEmptyCheck: true},
583-
"max_primary_shard_docs": {minVersion: MaxPrimaryShardDocsMinSupportedVersion},
583+
"max_primary_shard_docs": {def: 0, minVersion: MaxPrimaryShardDocsMinSupportedVersion},
584584
"min_age": {def: "", minVersion: RolloverMinConditionsMinSupportedVersion},
585585
"min_docs": {def: 0, minVersion: RolloverMinConditionsMinSupportedVersion},
586586
"min_size": {def: "", minVersion: RolloverMinConditionsMinSupportedVersion},

0 commit comments

Comments
 (0)