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
8af8aa47
Commit
8af8aa47
authored
Nov 04, 2015
by
Dr. Stefan Schimanski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix rebase error
parent
72aa1bdd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
framework.go
...rib/mesos/pkg/scheduler/components/framework/framework.go
+1
-2
service.go
contrib/mesos/pkg/scheduler/service/service.go
+5
-5
No files found.
contrib/mesos/pkg/scheduler/components/framework/framework.go
View file @
8af8aa47
...
...
@@ -21,7 +21,6 @@ import (
"io"
"math"
"net/http"
"reflect"
"sync"
"time"
...
...
@@ -669,7 +668,7 @@ func (k *framework) explicitlyReconcileTasks(driver bindings.SchedulerDriver, ta
// tell mesos to send us the latest status updates for all the non-terminal tasks that we know about
statusList
:=
[]
*
mesos
.
TaskStatus
{}
remaining
:=
sets
.
KeySet
(
reflect
.
ValueOf
(
taskToSlave
)
)
remaining
:=
sets
.
StringKeySet
(
taskToSlave
)
for
taskId
,
slaveId
:=
range
taskToSlave
{
if
slaveId
==
""
{
delete
(
taskToSlave
,
taskId
)
...
...
contrib/mesos/pkg/scheduler/service/service.go
View file @
8af8aa47
...
...
@@ -156,11 +156,11 @@ type SchedulerServer struct {
nodeRelistPeriod
time
.
Duration
sandboxOverlay
string
executable
string
// path to the binary running this service
client
*
client
.
Client
driver
bindings
.
SchedulerDriver
driverMutex
sync
.
RWMutex
mux
*
http
.
ServeMux
executable
string
// path to the binary running this service
client
*
client
.
Client
driver
bindings
.
SchedulerDriver
driverMutex
sync
.
RWMutex
mux
*
http
.
ServeMux
}
// useful for unit testing specific funcs
...
...
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