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.41.0 to 0.42.0. - [Release notes](https://github.com/testcontainers/testcontainers-go/releases) - [Commits](https://github.com/testcontainers/testcontainers-go/compare/v0.41.0...v0.42.0) --- updated-dependencies: - dependency-name: github.com/testcontainers/testcontainers-go/modules/opensearch dependency-version: 0.42.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
68b356292b
commit
d88bd1aa59
+4
-4
@@ -6,13 +6,13 @@ import (
|
||||
"io"
|
||||
"sync"
|
||||
|
||||
"github.com/docker/docker/api/types/container"
|
||||
"github.com/docker/docker/pkg/stdcopy"
|
||||
"github.com/moby/moby/api/pkg/stdcopy"
|
||||
"github.com/moby/moby/client"
|
||||
)
|
||||
|
||||
// ProcessOptions defines options applicable to the reader processor
|
||||
type ProcessOptions struct {
|
||||
ExecConfig container.ExecOptions
|
||||
ExecConfig client.ExecCreateOptions
|
||||
Reader io.Reader
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ type ProcessOptions struct {
|
||||
// - attach stderr: true
|
||||
func NewProcessOptions(cmd []string) *ProcessOptions {
|
||||
return &ProcessOptions{
|
||||
ExecConfig: container.ExecOptions{
|
||||
ExecConfig: client.ExecCreateOptions{
|
||||
Cmd: cmd,
|
||||
AttachStdout: true,
|
||||
AttachStderr: true,
|
||||
|
||||
Reference in New Issue
Block a user