Remove --no-color flag from docker compose start command

Closes gh-36908
This commit is contained in:
Moritz Halbritter
2023-08-10 12:12:47 +02:00
parent 7fea7e15c6
commit d48aa806c2
2 changed files with 2 additions and 2 deletions

View File

@@ -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");
}
}

View File

@@ -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();
}