Skip to content

Commit 3780548

Browse files
committed
Ran ./scripts/format.sh to fix the linting issues.
1 parent 9b49122 commit 3780548

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

java/src/org/openqa/selenium/grid/node/docker/DockerFlags.java

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,13 @@ public class DockerFlags implements HasRoles {
5656

5757
@Parameter(
5858
names = {"--docker-server-start-timeout"},
59-
description = "Max time (in seconds) to wait for the server to successfully start up, before cancelling the process.")
60-
@ConfigValue(section = DockerOptions.DOCKER_SECTION, name = "server-start-timeout", example = "55")
59+
description =
60+
"Max time (in seconds) to wait for the server to successfully start up, before cancelling"
61+
+ " the process.")
62+
@ConfigValue(
63+
section = DockerOptions.DOCKER_SECTION,
64+
name = "server-start-timeout",
65+
example = "55")
6166
private Integer serverStartTimeout;
6267

6368
@Parameter(

java/src/org/openqa/selenium/grid/node/docker/DockerOptions.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,8 @@ private URI getDockerUri() {
107107
}
108108

109109
private Duration getServerStartTimeout() {
110-
return Duration.ofSeconds(config.getInt(DOCKER_SECTION, "server-start-timeout").orElse(DEFAULT_SERVER_START_TIMEOUT));
110+
return Duration.ofSeconds(
111+
config.getInt(DOCKER_SECTION, "server-start-timeout").orElse(DEFAULT_SERVER_START_TIMEOUT));
111112
}
112113

113114
private boolean isEnabled(Docker docker) {

0 commit comments

Comments
 (0)