Skip to content

Commit dec90cf

Browse files
author
OpenShift Bot
authored
Merge pull request #13631 from louyihua/eqopt
Merged by openshift-bot
2 parents 10d04b3 + 93615bc commit dec90cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/client/cache/eventqueue.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ func (eq *EventQueue) Pop() (watch.EventType, interface{}, error) {
304304
// Track the last replace key immediately after the store
305305
// state has been changed to prevent subsequent errors from
306306
// leaving a stale key.
307-
if eq.lastReplaceKey != "" && eq.lastReplaceKey == key {
307+
if eq.lastReplaceKey == key {
308308
eq.lastReplaceKey = ""
309309
}
310310

0 commit comments

Comments
 (0)