integration/internal/container/exec.go
Function ExecT
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func ExecT(ctx context.Context, t testing.TB, apiClient client.APIClient, id string, cmd []string, ops ...func(*container.ExecOptions)) ExecResult {
Function Exec
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func Exec(ctx context.Context, apiClient client.APIClient, id string, cmd []string, ops ...func(*container.ExecOptions)) (ExecResult, error) {
Function Exec
has 5 return statements (exceeds 4 allowed). Open
Open
func Exec(ctx context.Context, apiClient client.APIClient, id string, cmd []string, ops ...func(*container.ExecOptions)) (ExecResult, error) {
// prepare exec
execOptions := container.ExecOptions{
AttachStdout: true,
AttachStderr: true,