Skip to content

Commit

Permalink
Fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
kaklakariada committed Apr 16, 2024
1 parent d6bf5ca commit 2601b9f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.testcontainers.containers.BindMode;
import org.testcontainers.containers.Container;
import org.testcontainers.containers.Container.ExecResult;

Expand Down Expand Up @@ -63,7 +64,7 @@ private void getSettingsFromPropertiesOrDefaultValues(final String monitoredExit
@SuppressWarnings("deprecation") // Will be fixed in https://github.com/exasol/exasol-testcontainers/issues/253
public void mapTargetDirectory(final Path targetDirectory) {
this.targetDirectory = targetDirectory;
this.container.withFileSystemBind(targetDirectory.toString(), MAPPED_HOST_DIRECTORY, READ_WRITE);
this.container.withFileSystemBind(targetDirectory.toString(), MAPPED_HOST_DIRECTORY, BindMode.READ_WRITE);
}

/**
Expand Down

0 comments on commit 2601b9f

Please sign in to comment.