correct the ConstructVolumeSpec func path value

This commit is contained in:
jianglingxia 2018-02-09 17:29:24 +08:00
parent 05944b1d2c
commit 2d805c727e

View File

@ -173,7 +173,7 @@ func (plugin *cephfsPlugin) ConstructVolumeSpec(volumeName, mountPath string) (*
VolumeSource: v1.VolumeSource{ VolumeSource: v1.VolumeSource{
CephFS: &v1.CephFSVolumeSource{ CephFS: &v1.CephFSVolumeSource{
Monitors: []string{}, Monitors: []string{},
Path: volumeName, Path: mountPath,
}, },
}, },
} }