Commit 94bca5ff authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #47309 from xiang90/util

Automatic merge from submit-queue (batch tested with PRs 47309, 47187) scheduler/util: remove bad print format Fix https://github.com/kubernetes/kubernetes/issues/18834
parents 4b4e9197 24ee1454
...@@ -18,11 +18,12 @@ package util ...@@ -18,11 +18,12 @@ package util
import ( import (
"fmt" "fmt"
"github.com/golang/glog"
ktypes "k8s.io/apimachinery/pkg/types"
"sync" "sync"
"sync/atomic" "sync/atomic"
"time" "time"
"github.com/golang/glog"
ktypes "k8s.io/apimachinery/pkg/types"
) )
type clock interface { type clock interface {
...@@ -74,7 +75,7 @@ func (entry *backoffEntry) getBackoff(maxDuration time.Duration) time.Duration { ...@@ -74,7 +75,7 @@ func (entry *backoffEntry) getBackoff(maxDuration time.Duration) time.Duration {
newDuration = maxDuration newDuration = maxDuration
} }
entry.backoff = newDuration entry.backoff = newDuration
glog.V(4).Infof("Backing off %s for pod %+v", duration.String(), entry) glog.V(4).Infof("Backing off %s", duration.String())
return duration return duration
} }
......
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