mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 19:01:49 +00:00
fix gofmt bug
This commit is contained in:
parent
5e6177897d
commit
17b084938a
@ -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()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user