Commit 24ee1454 authored by Xiang's avatar Xiang

scheduler/util: remove bad print format

Backoff do not have any context on pod. Remove the previous bad printing format.
parent df1e2898
......@@ -18,11 +18,12 @@ package util
import (
"fmt"
"github.com/golang/glog"
ktypes "k8s.io/apimachinery/pkg/types"
"sync"
"sync/atomic"
"time"
"github.com/golang/glog"
ktypes "k8s.io/apimachinery/pkg/types"
)
type clock interface {
......@@ -74,7 +75,7 @@ func (entry *backoffEntry) getBackoff(maxDuration time.Duration) time.Duration {
newDuration = maxDuration
}
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
}
......
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