mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 05:03:09 +00:00
Merge pull request #57501 from linyouchong/linyouchong-20171221
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. fix incorrect comment
This commit is contained in:
commit
6f3e1dabe4
@ -152,7 +152,7 @@ type nodeManaged struct {
|
|||||||
|
|
||||||
// volumesToAttach is a map containing the set of volumes that should be
|
// 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
|
// 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
|
volumesToAttach map[v1.UniqueVolumeName]volumeToAttach
|
||||||
|
|
||||||
// keepTerminatedPodVolumes determines if for terminated pods(on this node) - volumes
|
// keepTerminatedPodVolumes determines if for terminated pods(on this node) - volumes
|
||||||
@ -160,7 +160,7 @@ type nodeManaged struct {
|
|||||||
keepTerminatedPodVolumes bool
|
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 {
|
type volumeToAttach struct {
|
||||||
// multiAttachErrorReported indicates whether the multi-attach error has been reported for the given volume.
|
// 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.
|
// It is used to to prevent reporting the error from being reported more than once for a given volume.
|
||||||
|
Loading…
Reference in New Issue
Block a user