Commit 9641b01
committed
Fixes copyArchiveToContainerCmdImpl fail when hostResource has an empty dir which gets added as last entry to tar
CopyArchiveToContainerCmdImpl FAILS with com.github.dockerjava.api.exception.BadRequestException: Unable to perform tar on host resource /path/to/resource, if the resourceHost is a dir that containes an empty dir which will be added as the last entry to the generated .tar file.1 parent 1ab6e63 commit 9641b01
File tree
1 file changed
+1
-0
lines changed- src/main/java/com/github/dockerjava/core/util
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
0 commit comments