Skip to content

Commit 5ca3235

Browse files
Yury Bubnovrnorth
authored andcommitted
Fix typo
1 parent d1498fc commit 5ca3235

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/org/testcontainers/containers/DockerComposeContainer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ public ContainerisedDockerCompose(List<File> composeFiles, String identifier) {
400400
setWorkingDirectory(containerPwd);
401401

402402
String dockerConfigPath = determineDockerConfigPath();
403-
if (dockerConfigPath != null && dockerConfigPath.isEmpty()) {
403+
if (dockerConfigPath != null && !dockerConfigPath.isEmpty()) {
404404
addFileSystemBind(dockerConfigPath, DOCKER_CONFIG_FILE, READ_ONLY);
405405
}
406406
}

0 commit comments

Comments
 (0)