Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
Merge pull request #2758 from jcvenegas/revert-patch-1.10.5
Browse files Browse the repository at this point in the history
[stable-1.10.5] clh: Fix shared directory path for virtiofsd
  • Loading branch information
jcvenegas authored Jun 10, 2020
2 parents 06e0be0 + eb8bf66 commit ecb69a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion virtcontainers/clh.go
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ func (clh *cloudHypervisor) waitVirtiofsd(start time.Time, timeout int, ready ch

func (clh *cloudHypervisor) virtiofsdArgs(sockPath string) ([]string, error) {

sourcePath := filepath.Join(kataHostSharedDir(), clh.id)
sourcePath := filepath.Join(getSharePath(clh.id))
if _, err := os.Stat(sourcePath); os.IsNotExist(err) {
if err = os.MkdirAll(sourcePath, os.ModePerm); err != nil {
return nil, err
Expand Down

0 comments on commit ecb69a3

Please sign in to comment.