fix job controller hot loop

Change-Id: I55ce706381f1494e5cd2064177b938f56d9c356a
This commit is contained in:
m1093782566
2016-09-20 11:16:40 +08:00
parent b4d5177c23
commit 27cc90cebb
3 changed files with 51 additions and 49 deletions

View File

@@ -19,14 +19,13 @@ limitations under the License.
package endpoint
import (
"fmt"
"reflect"
"strconv"
"time"
"encoding/json"
"fmt"
"github.com/golang/glog"
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/api/endpoints"
"k8s.io/kubernetes/pkg/api/errors"
@@ -44,6 +43,8 @@ import (
"k8s.io/kubernetes/pkg/util/wait"
"k8s.io/kubernetes/pkg/util/workqueue"
"k8s.io/kubernetes/pkg/watch"
"github.com/golang/glog"
)
const (