Merge branch '3.1.x'

Closes gh-36910
pull/37119/head
Moritz Halbritter 1 year ago
commit 784488b090

@ -184,7 +184,7 @@ abstract sealed class DockerCliCommand<R> {
static final class ComposeStart extends DockerCliCommand<Void> {
ComposeStart(LogLevel logLevel) {
super(Type.DOCKER_COMPOSE, logLevel, Void.class, false, "start", "--no-color", "--detach", "--wait");
super(Type.DOCKER_COMPOSE, logLevel, Void.class, false, "start", "--detach", "--wait");
}
}

@ -88,7 +88,7 @@ class DockerCliCommandTests {
DockerCliCommand<?> command = new DockerCliCommand.ComposeStart(LogLevel.INFO);
assertThat(command.getType()).isEqualTo(DockerCliCommand.Type.DOCKER_COMPOSE);
assertThat(command.getLogLevel()).isEqualTo(LogLevel.INFO);
assertThat(command.getCommand()).containsExactly("start", "--no-color", "--detach", "--wait");
assertThat(command.getCommand()).containsExactly("start", "--detach", "--wait");
assertThat(command.deserialize("[]")).isNull();
}

Loading…
Cancel
Save