Skip to content

Commit

Permalink
fixes after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
tobias-lippert committed Feb 3, 2025
1 parent 2e513a7 commit f30a57d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ private void addDirectory(String containerId, String directoryName, boolean crea
executeDockerCommand(containerId, null, false, false, true, command);
}

private void copyToContainer(String sourcePath, String containerId) {
private void copyToContainer(Path sourcePath, String containerId) {
try (final var uploadStream = new ByteArrayInputStream(createTarArchive(sourcePath).toByteArray());
final var copyToContainerCommand = buildAgentConfiguration.getDockerClient().copyArchiveToContainerCmd(containerId).withRemotePath(LOCALCI_WORKING_DIRECTORY)
.withTarInputStream(uploadStream)) {
Expand Down

0 comments on commit f30a57d

Please sign in to comment.