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
dc7a0bf6
Commit
dc7a0bf6
authored
Dec 06, 2016
by
NickrenREN
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix function notes
change the function notes according to the implementations of the function AddPodToVolume()
parent
9484212b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
actual_state_of_world.go
pkg/kubelet/volumemanager/cache/actual_state_of_world.go
+1
-1
No files found.
pkg/kubelet/volumemanager/cache/actual_state_of_world.go
View file @
dc7a0bf6
...
@@ -55,7 +55,7 @@ type ActualStateOfWorld interface {
...
@@ -55,7 +55,7 @@ type ActualStateOfWorld interface {
// indicating the specified volume has been successfully mounted to the
// indicating the specified volume has been successfully mounted to the
// specified pod.
// specified pod.
// If a pod with the same unique name already exists under the specified
// 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
// If a volume with the name volumeName does not exist in the list of
// attached volumes, an error is returned.
// attached volumes, an error is returned.
AddPodToVolume
(
podName
volumetypes
.
UniquePodName
,
podUID
types
.
UID
,
volumeName
v1
.
UniqueVolumeName
,
mounter
volume
.
Mounter
,
outerVolumeSpecName
string
,
volumeGidValue
string
)
error
AddPodToVolume
(
podName
volumetypes
.
UniquePodName
,
podUID
types
.
UID
,
volumeName
v1
.
UniqueVolumeName
,
mounter
volume
.
Mounter
,
outerVolumeSpecName
string
,
volumeGidValue
string
)
error
...
...
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