Skip to content

Commit 5c73a43

Browse files
Apply empty properties suggestion
Co-authored-by: Georgios Andrianakis <geoand@gmail.com>
1 parent f2bbb5f commit 5c73a43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/deployment/src/main/java/io/quarkus/deployment/IsContainerRuntimeWorking.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public Result get() {
6767

6868
String dockerApiVersion = System.getProperty("api.version");
6969

70-
try (ResettableSystemProperties ignored = dockerApiVersion == null ? ResettableSystemProperties.of("api.version", "1.44") : null) {
70+
try (ResettableSystemProperties ignored = dockerApiVersion == null ? ResettableSystemProperties.of("api.version", "1.44") : ResettableSystemProperties.empty()) {
7171
Class<?> dockerClientFactoryClass = Thread.currentThread().getContextClassLoader()
7272
.loadClass("org.testcontainers.DockerClientFactory");
7373
Object dockerClientFactoryInstance = dockerClientFactoryClass.getMethod("instance").invoke(null);

0 commit comments

Comments
 (0)