Skip to content

Commit

Permalink
Merge pull request #78 from garenchan/ck-dev
Browse files Browse the repository at this point in the history
fix an error to return correct result
  • Loading branch information
chrislusf authored Aug 16, 2022
2 parents f023a6e + 820404d commit b4d5be3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/driver/volume.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func (vol *Volume) Publish(targetPath string, readOnly bool) error {

mounter := mount.New("")
if err := mounter.Mount(vol.stagingTargetPath, targetPath, "", mountOptions); err != nil {
return nil
return err
}

vol.targetPaths[targetPath] = true
Expand Down

0 comments on commit b4d5be3

Please sign in to comment.