diff --git a/contrib/mesos/pkg/scheduler/mesos_scheduler.go b/contrib/mesos/pkg/scheduler/mesos_scheduler.go index dee1aec848f..2e90cdf42b3 100644 --- a/contrib/mesos/pkg/scheduler/mesos_scheduler.go +++ b/contrib/mesos/pkg/scheduler/mesos_scheduler.go @@ -60,15 +60,6 @@ import ( plugin "k8s.io/kubernetes/plugin/pkg/scheduler" ) -type PluginInterface interface { - // the apiserver may have a different state for the pod than we do - // so reconcile our records, but only for this one pod - reconcileTask(*podtask.T) - - // execute the Scheduling plugin, should start a go routine and return immediately - Run(<-chan struct{}) -} - // KubernetesScheduler implements: // 1: A mesos scheduler. // 2: A kubernetes scheduler plugin. diff --git a/contrib/mesos/pkg/scheduler/plugin.go b/contrib/mesos/pkg/scheduler/plugin.go index 2c42112b9e9..6b09b1db683 100644 --- a/contrib/mesos/pkg/scheduler/plugin.go +++ b/contrib/mesos/pkg/scheduler/plugin.go @@ -51,6 +51,15 @@ const ( Scheduled = "Scheduled" ) +type PluginInterface interface { + // the apiserver may have a different state for the pod than we do + // so reconcile our records, but only for this one pod + reconcileTask(*podtask.T) + + // execute the Scheduling plugin, should start a go routine and return immediately + Run(<-chan struct{}) +} + type mesosSchedulerApiAdapter struct { sync.Mutex mesosScheduler *MesosScheduler