mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-08 04:32:37 +00:00
fix gofmt bug
This commit is contained in:
@@ -308,7 +308,7 @@ func (p *PriorityQueue) AddUnschedulableIfNotPresent(pInfo *framework.QueuedPodI
|
|||||||
if _, exists, _ := p.podBackoffQ.Get(pInfo); exists {
|
if _, exists, _ := p.podBackoffQ.Get(pInfo); exists {
|
||||||
return fmt.Errorf("pod %v is already present in the backoff queue", nsNameForPod(pod))
|
return fmt.Errorf("pod %v is already present in the backoff queue", nsNameForPod(pod))
|
||||||
}
|
}
|
||||||
|
|
||||||
// Refresh the timestamp since the pod is re-added.
|
// Refresh the timestamp since the pod is re-added.
|
||||||
pInfo.Timestamp = p.clock.Now()
|
pInfo.Timestamp = p.clock.Now()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user