Skip to content

Commit

Permalink
rename isApplicable -> shouldCheckWithCommand
Browse files Browse the repository at this point in the history
  • Loading branch information
bsideup authored and rnorth committed Mar 12, 2017
1 parent 8feb7fe commit 68d292d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ protected void waitUntilReady() {

Callable<Boolean> checkStrategy;

if (isApplicable()) {
if (shouldCheckWithCommand()) {
List<Integer> exposedPorts = container.getExposedPorts();

Integer exposedPort = exposedPorts.stream()
Expand Down Expand Up @@ -91,7 +91,7 @@ protected void waitUntilReady() {
}
}

private boolean isApplicable() {
private boolean shouldCheckWithCommand() {
// Special case for Docker for Mac, see #160
if(DockerClientFactory.instance().isUsing(ProxiedUnixSocketClientProviderStrategy.class)
&& System.getProperty("os.name").toLowerCase().contains("mac")) {
Expand Down

0 comments on commit 68d292d

Please sign in to comment.