Skip to content

Commit

Permalink
Merge pull request #218 from kunickiaj/logorder
Browse files Browse the repository at this point in the history
DockerClientProviderStrategy.getDescription() should be called after …
  • Loading branch information
rnorth committed Sep 11, 2016
2 parents 93a1f14 + 6da414c commit f436842
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ public static DockerClientProviderStrategy getFirstValidStrategy(List<DockerClie

for (DockerClientProviderStrategy strategy : strategies) {
try {
LOGGER.info("Looking for Docker environment. Trying {}", strategy.getDescription());
strategy.test();
LOGGER.info("Looking for Docker environment. Tried {}", strategy.getDescription());
return strategy;
} catch (Exception | ExceptionInInitializerError | NoClassDefFoundError e) {
@Nullable String throwableMessage = e.getMessage();
Expand Down

0 comments on commit f436842

Please sign in to comment.