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:
committed by
Ralf Haferkamp
parent
fc532634b5
commit
b84a2edefd
Generated
Vendored
+3
-2
@@ -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...)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user