Skip to content

Commit

Permalink
fix hosttarget path
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross committed Jul 22, 2020
1 parent a016d06 commit e5bdcda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/pluginmanager/csimanager/volume.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func (v *volumeManager) ensureAllocDir(vol *structs.CSIVolume, alloc *structs.Al
return "", false, fmt.Errorf("mount point detection failed for volume (%s): %v", vol.ID, err)
}

return allocPath, !isNotMount, nil
return targetPath, !isNotMount, nil
}

func volumeCapability(vol *structs.CSIVolume, usage *UsageOptions) (*csi.VolumeCapability, error) {
Expand Down

0 comments on commit e5bdcda

Please sign in to comment.