Commit 8af8aa47 authored by Dr. Stefan Schimanski's avatar Dr. Stefan Schimanski

Fix rebase error

parent 72aa1bdd
...@@ -21,7 +21,6 @@ import ( ...@@ -21,7 +21,6 @@ import (
"io" "io"
"math" "math"
"net/http" "net/http"
"reflect"
"sync" "sync"
"time" "time"
...@@ -669,7 +668,7 @@ func (k *framework) explicitlyReconcileTasks(driver bindings.SchedulerDriver, ta ...@@ -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 // tell mesos to send us the latest status updates for all the non-terminal tasks that we know about
statusList := []*mesos.TaskStatus{} statusList := []*mesos.TaskStatus{}
remaining := sets.KeySet(reflect.ValueOf(taskToSlave)) remaining := sets.StringKeySet(taskToSlave)
for taskId, slaveId := range taskToSlave { for taskId, slaveId := range taskToSlave {
if slaveId == "" { if slaveId == "" {
delete(taskToSlave, taskId) delete(taskToSlave, taskId)
......
...@@ -156,11 +156,11 @@ type SchedulerServer struct { ...@@ -156,11 +156,11 @@ type SchedulerServer struct {
nodeRelistPeriod time.Duration nodeRelistPeriod time.Duration
sandboxOverlay string sandboxOverlay string
executable string // path to the binary running this service executable string // path to the binary running this service
client *client.Client client *client.Client
driver bindings.SchedulerDriver driver bindings.SchedulerDriver
driverMutex sync.RWMutex driverMutex sync.RWMutex
mux *http.ServeMux mux *http.ServeMux
} }
// useful for unit testing specific funcs // useful for unit testing specific funcs
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment