Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply suggestion from @mrodm
Co-authored-by: Mario Rodriguez Molins <[email protected]>
  • Loading branch information
teresaromero and mrodm authored Sep 16, 2025
commit e4891f6811b2e17cc4892d0a20c3a4c179a64b0b
6 changes: 3 additions & 3 deletions cmd/create_data_stream_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ func TestCreateDataStreamDescriptorFromAnswers_SubobjectsFalseForSpecVersionGTE3
}
descriptor := createDataStreamDescriptorFromAnswers(answers, "/tmp/package", specVersion)

assert.NotNil(t, descriptor.Manifest.Elasticsearch)
assert.NotNil(t, descriptor.Manifest.Elasticsearch.IndexTemplate)
assert.NotNil(t, descriptor.Manifest.Elasticsearch.IndexTemplate.Mappings)
require.NotNil(t, descriptor.Manifest.Elasticsearch)
require.NotNil(t, descriptor.Manifest.Elasticsearch.IndexTemplate)
require.NotNil(t, descriptor.Manifest.Elasticsearch.IndexTemplate.Mappings)
assert.False(t, descriptor.Manifest.Elasticsearch.IndexTemplate.Mappings.Subobjects)
}

Expand Down