Fix rebase error

This commit is contained in:
Dr. Stefan Schimanski
2015-11-04 13:58:21 +01:00
parent 72aa1bdd25
commit 8af8aa4710
2 changed files with 6 additions and 7 deletions

View File

@@ -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)

View File

@@ -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