From 4acc23b4090c471172522aefce77028ab487e1b9 Mon Sep 17 00:00:00 2001 From: linyouchong Date: Thu, 21 Dec 2017 23:36:20 +0800 Subject: [PATCH] fix incorrect comment --- .../volume/attachdetach/cache/desired_state_of_world.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/controller/volume/attachdetach/cache/desired_state_of_world.go b/pkg/controller/volume/attachdetach/cache/desired_state_of_world.go index 57ee9253ec1..3fe8e825e1d 100644 --- a/pkg/controller/volume/attachdetach/cache/desired_state_of_world.go +++ b/pkg/controller/volume/attachdetach/cache/desired_state_of_world.go @@ -152,7 +152,7 @@ type nodeManaged struct { // volumesToAttach is a map containing the set of volumes that should be // attached to this node. The key in the map is the name of the volume and - // the value is a pod object containing more information about the volume. + // the value is a volumeToAttach object containing more information about the volume. volumesToAttach map[v1.UniqueVolumeName]volumeToAttach // keepTerminatedPodVolumes determines if for terminated pods(on this node) - volumes @@ -160,7 +160,7 @@ type nodeManaged struct { keepTerminatedPodVolumes bool } -// The volume object represents a volume that should be attached to a node. +// The volumeToAttach object represents a volume that should be attached to a node. type volumeToAttach struct { // multiAttachErrorReported indicates whether the multi-attach error has been reported for the given volume. // It is used to to prevent reporting the error from being reported more than once for a given volume.