We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4b2c735 + 5a140b2 commit 0df74ceCopy full SHA for 0df74ce
pkg/hostpath/hostpath.go
@@ -293,7 +293,7 @@ func loadFromVolume(srcVolumeId, destPath string) error {
293
294
// If the source hostpath volume is empty it's a noop and we just move along, otherwise the cp call will fail with a a file stat error DNE
295
if !isEmpty {
296
- args := []string{"-a", srcPath + "/*", destPath + "/"}
+ args := []string{"-a", srcPath + "/.", destPath + "/"}
297
executor := utilexec.New()
298
out, err := executor.Command("cp", args...).CombinedOutput()
299
if err != nil {
0 commit comments