fix function notes

change the function notes according to the implementations of the function AddPodToVolume()
This commit is contained in:
NickrenREN 2016-12-06 16:19:28 +08:00
parent 9484212b00
commit dc7a0bf65e

View File

@ -55,7 +55,7 @@ type ActualStateOfWorld interface {
// indicating the specified volume has been successfully mounted to the // indicating the specified volume has been successfully mounted to the
// specified pod. // specified pod.
// If a pod with the same unique name already exists under the specified // If a pod with the same unique name already exists under the specified
// volume, this is a no-op. // volume, reset the pod's remountRequired value.
// If a volume with the name volumeName does not exist in the list of // If a volume with the name volumeName does not exist in the list of
// attached volumes, an error is returned. // attached volumes, an error is returned.
AddPodToVolume(podName volumetypes.UniquePodName, podUID types.UID, volumeName v1.UniqueVolumeName, mounter volume.Mounter, outerVolumeSpecName string, volumeGidValue string) error AddPodToVolume(podName volumetypes.UniquePodName, podUID types.UID, volumeName v1.UniqueVolumeName, mounter volume.Mounter, outerVolumeSpecName string, volumeGidValue string) error