From dc7a0bf65e7468aeb7ca0b13897d8b04bdf66b83 Mon Sep 17 00:00:00 2001 From: NickrenREN Date: Tue, 6 Dec 2016 16:19:28 +0800 Subject: [PATCH] fix function notes change the function notes according to the implementations of the function AddPodToVolume() --- pkg/kubelet/volumemanager/cache/actual_state_of_world.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/kubelet/volumemanager/cache/actual_state_of_world.go b/pkg/kubelet/volumemanager/cache/actual_state_of_world.go index e0376ac3fbd..49b91de47dd 100644 --- a/pkg/kubelet/volumemanager/cache/actual_state_of_world.go +++ b/pkg/kubelet/volumemanager/cache/actual_state_of_world.go @@ -55,7 +55,7 @@ type ActualStateOfWorld interface { // indicating the specified volume has been successfully mounted to the // specified pod. // 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 // attached volumes, an error is returned. AddPodToVolume(podName volumetypes.UniquePodName, podUID types.UID, volumeName v1.UniqueVolumeName, mounter volume.Mounter, outerVolumeSpecName string, volumeGidValue string) error