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
46e29cfb
Commit
46e29cfb
authored
Jun 04, 2015
by
Yu-Ju Hong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Kubelet: fix the warning message
parent
02f3142f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
container_manager_linux.go
pkg/kubelet/container_manager_linux.go
+4
-3
No files found.
pkg/kubelet/container_manager_linux.go
View file @
46e29cfb
...
@@ -136,8 +136,9 @@ func (cm *containerManagerImpl) Start() error {
...
@@ -136,8 +136,9 @@ func (cm *containerManagerImpl) Start() error {
go
util
.
Until
(
func
()
{
go
util
.
Until
(
func
()
{
for
_
,
cont
:=
range
cm
.
systemContainers
{
for
_
,
cont
:=
range
cm
.
systemContainers
{
if
cont
.
ensureStateFunc
!=
nil
{
if
cont
.
ensureStateFunc
!=
nil
{
err
:=
cont
.
ensureStateFunc
(
cont
.
manager
)
if
err
:=
cont
.
ensureStateFunc
(
cont
.
manager
);
err
!=
nil
{
glog
.
Warningf
(
"[ContainerManager] Failed to ensure state of %q: %v"
,
cont
.
name
,
err
)
glog
.
Warningf
(
"[ContainerManager] Failed to ensure state of %q: %v"
,
cont
.
name
,
err
)
}
}
}
}
}
},
time
.
Minute
,
util
.
NeverStop
)
},
time
.
Minute
,
util
.
NeverStop
)
...
@@ -227,7 +228,7 @@ func ensureSystemContainer(rootContainer *fs.Manager, manager *fs.Manager) error
...
@@ -227,7 +228,7 @@ func ensureSystemContainer(rootContainer *fs.Manager, manager *fs.Manager) error
allPids
,
err
:=
rootContainer
.
GetPids
()
allPids
,
err
:=
rootContainer
.
GetPids
()
if
err
!=
nil
{
if
err
!=
nil
{
errs
=
append
(
errs
,
fmt
.
Errorf
(
"
F
ailed to list PIDs for root: %v"
,
err
))
errs
=
append
(
errs
,
fmt
.
Errorf
(
"
f
ailed to list PIDs for root: %v"
,
err
))
continue
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