build(deps): bump github.com/testcontainers/testcontainers-go/modules/opensearch

Bumps [github.com/testcontainers/testcontainers-go/modules/opensearch](https://github.com/testcontainers/testcontainers-go) from 0.40.0 to 0.41.0.
- [Release notes](https://github.com/testcontainers/testcontainers-go/releases)
- [Commits](https://github.com/testcontainers/testcontainers-go/compare/v0.40.0...v0.41.0)

---
updated-dependencies:
- dependency-name: github.com/testcontainers/testcontainers-go/modules/opensearch
  dependency-version: 0.41.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
dependabot[bot]
2026-03-12 10:22:25 +01:00
committed by Ralf Haferkamp
parent fc532634b5
commit b84a2edefd
4 changed files with 8 additions and 7 deletions
@@ -48,7 +48,8 @@ func Run(ctx context.Context, img string, opts ...testcontainers.ContainerCustom
username := settings.Username
password := settings.Password
moduleOpts := []testcontainers.ContainerCustomizer{
moduleOpts := make([]testcontainers.ContainerCustomizer, 0, 4+len(opts))
moduleOpts = append(moduleOpts,
testcontainers.WithEnv(map[string]string{
"discovery.type": "single-node",
"DISABLE_INSTALL_DEMO_CONFIG": "true",
@@ -99,7 +100,7 @@ func Run(ctx context.Context, img string, opts ...testcontainers.ContainerCustom
return r.Tagline == "The OpenSearch Project: https://opensearch.org/"
})),
}
)
moduleOpts = append(moduleOpts, opts...)