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
57f63217
Commit
57f63217
authored
May 20, 2016
by
Davanum Srinivas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix useless error message in scheduler log
Print the Namespace and Name instead of Kind/ApiVersion. fixes #25950
parent
bd8033e2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
scheduler.go
plugin/pkg/scheduler/scheduler.go
+1
-1
No files found.
plugin/pkg/scheduler/scheduler.go
View file @
57f63217
...
@@ -137,7 +137,7 @@ func (s *Scheduler) scheduleOne() {
...
@@ -137,7 +137,7 @@ func (s *Scheduler) scheduleOne() {
// it's atomic with setting host.
// it's atomic with setting host.
err
:=
s
.
config
.
Binder
.
Bind
(
b
)
err
:=
s
.
config
.
Binder
.
Bind
(
b
)
if
err
!=
nil
{
if
err
!=
nil
{
glog
.
V
(
1
)
.
Infof
(
"Failed to bind pod: %
+v"
,
err
)
glog
.
V
(
1
)
.
Infof
(
"Failed to bind pod: %
v/%v"
,
pod
.
Namespace
,
pod
.
Name
)
s
.
config
.
Error
(
pod
,
err
)
s
.
config
.
Error
(
pod
,
err
)
s
.
config
.
Recorder
.
Eventf
(
pod
,
api
.
EventTypeNormal
,
"FailedScheduling"
,
"Binding rejected: %v"
,
err
)
s
.
config
.
Recorder
.
Eventf
(
pod
,
api
.
EventTypeNormal
,
"FailedScheduling"
,
"Binding rejected: %v"
,
err
)
s
.
config
.
PodConditionUpdater
.
Update
(
pod
,
&
api
.
PodCondition
{
s
.
config
.
PodConditionUpdater
.
Update
(
pod
,
&
api
.
PodCondition
{
...
...
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