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
dad04530
Commit
dad04530
authored
Feb 20, 2019
by
Nguyen Quang Huy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some typos in scheduler
Corect some words for reading more easily.
parent
ad403f8e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
eventhandlers.go
pkg/scheduler/eventhandlers.go
+1
-1
testutil.go
pkg/scheduler/testutil.go
+1
-1
No files found.
pkg/scheduler/eventhandlers.go
View file @
dad04530
...
...
@@ -35,7 +35,7 @@ func (sched *Scheduler) onPvAdd(obj interface{}) {
// Pods created when there are no PVs available will be stuck in
// unschedulable queue. But unbound PVs created for static provisioning and
// delay binding storage class are skipped in PV controller dynamic
// provisiong and binding process, will not trigger events to schedule pod
// provision
in
g and binding process, will not trigger events to schedule pod
// again. So we need to move pods to active queue on PV add for this
// scenario.
sched
.
config
.
SchedulingQueue
.
MoveAllToActiveQueue
()
...
...
pkg/scheduler/testutil.go
View file @
dad04530
...
...
@@ -92,7 +92,7 @@ func (fc *FakeConfigurator) CreateFromKeys(predicateKeys, priorityKeys sets.Stri
return
fc
.
Config
,
nil
}
// EmptyPluginSet is the default plugin re
sti
rar used by the default scheduler.
// EmptyPluginSet is the default plugin re
gist
rar used by the default scheduler.
type
EmptyPluginSet
struct
{}
var
_
=
plugins
.
PluginSet
(
EmptyPluginSet
{})
...
...
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