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
14feb9ab
Commit
14feb9ab
authored
Mar 21, 2017
by
NickrenREN
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change AddPodToVolume() arg to volumeGidValue instead of devicePath
parent
1e5fa8fe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
reconciler.go
pkg/kubelet/volumemanager/reconciler/reconciler.go
+2
-2
No files found.
pkg/kubelet/volumemanager/reconciler/reconciler.go
View file @
14feb9ab
...
...
@@ -566,7 +566,7 @@ func (rc *reconciler) updateStates(volumesNeedUpdate map[v1.UniqueVolumeName]*re
}
}
// Get the list of volumes from desired state and update OuterVolumeSpecName if the information is avaiable
// Get the list of volumes from desired state and update OuterVolumeSpecName if the information is avai
l
able
volumesToMount
:=
rc
.
desiredStateOfWorld
.
GetVolumesToMount
()
for
_
,
volumeToMount
:=
range
volumesToMount
{
if
volume
,
exists
:=
volumesNeedUpdate
[
volumeToMount
.
VolumeName
];
exists
{
...
...
@@ -591,7 +591,7 @@ func (rc *reconciler) updateStates(volumesNeedUpdate map[v1.UniqueVolumeName]*re
volume
.
volumeName
,
volume
.
mounter
,
volume
.
outerVolumeSpecName
,
volume
.
devicePath
)
volume
.
volumeGidValue
)
if
err
!=
nil
{
glog
.
Errorf
(
"Could not add pod to volume information to actual state of world: %v"
,
err
)
continue
...
...
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