mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	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
This commit is contained in:
		@@ -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
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user