File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
kubelet/volumemanager/cache Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -296,8 +296,8 @@ func (dsw *desiredStateOfWorld) AddPodToVolume(
296296err )
297297}
298298} else {
299- // For non-attachable and non-device-mountable volumes, generate a unique name based on the pod
300- // namespace and name and the name of the volume within the pod.
299+ // For non-attachable and non-device-mountable volumes, generate a unique name based on the unique pod
300+ // name (refer to podUID) and the name of the volume within the pod.
301301volumeName = util .GetUniqueVolumeNameFromSpecWithPod (podName , volumePlugin , volumeSpec )
302302}
303303
Original file line number Diff line number Diff line change @@ -174,8 +174,6 @@ type VolumePlugin interface {
174174ConstructVolumeSpec (volumeName , volumePath string ) (ReconstructedVolume , error )
175175
176176// SupportsMountOption returns true if volume plugins supports Mount options
177- // Specifying mount options in a volume plugin that doesn't support
178- // user specified mount options will result in error creating persistent volumes
179177SupportsMountOption () bool
180178
181179// SupportsSELinuxContextMount returns true if volume plugins supports
You can’t perform that action at this time.
0 commit comments