mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-28 13:03:43 +00:00
scheduler/util: remove bad print format
Backoff do not have any context on pod. Remove the previous bad printing format.
This commit is contained in:
parent
df1e289888
commit
24ee14540a
@ -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 {
|
|||||||
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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user