mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-11 06:02:18 +00:00
Fix rebase error
This commit is contained in:
@@ -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
|
|||||||
|
|
||||||
// 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 {
|
|||||||
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
|
||||||
|
Reference in New Issue
Block a user