Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
4acc23b4
Commit
4acc23b4
authored
Dec 21, 2017
by
linyouchong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix incorrect comment
parent
1bcf0b0a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
desired_state_of_world.go
...oller/volume/attachdetach/cache/desired_state_of_world.go
+2
-2
No files found.
pkg/controller/volume/attachdetach/cache/desired_state_of_world.go
View file @
4acc23b4
...
@@ -152,7 +152,7 @@ type nodeManaged struct {
...
@@ -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 {
...
@@ -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 volume
ToAttach
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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment