You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
remove redundant `knlog.InfoS` and ensure that the final reported PFP status is reflected in the output; as such:
```
...
***FINAL PFP SYNC STATUSES***
control-plane-1: desynced!
control-plane-2: desynced!
control-plane-3: desynced!
```
Signed-off-by: Shereen Haj <[email protected]>
iflen(fromRTE) ==0||len(fromSched) ==0 { // should never happen
168
-
returnfmt.Errorf("sync check is skipped, recorded statuses are missing: RTEStatusListLength=%d, schedulerStatusListLength=%d", len(fromRTE), len(fromSched))
179
+
returnisFinalStatusSynced, fmt.Errorf("sync check is skipped, recorded statuses are missing: RTEStatusListLength=%d, schedulerStatusListLength=%d", len(fromRTE), len(fromSched))
169
180
}
170
181
171
-
//make map from sched where the expectedPFP is the key, makes sure no duplication and uses the freshest report
182
+
//make map from sched where the expectedPFP is the key, makes sure no duplication and uses the freshest report
172
183
refinedSchedStatuses:=refineListToMap(fromSched)
173
184
iflen(refinedSchedStatuses) ==0 {
174
185
klog.InfoS("all scheduler PFP status trace is synced with RTE!")
// should never happen, if it happened there is likely a bug in the scheduler reporting the statuses
183
-
returnfmt.Errorf("no differences found between pod lists of RTE and scheduler, but node is reported to be Dirty on the scheduler")
194
+
returnisFinalStatusSynced, fmt.Errorf("no differences found between pod lists of RTE and scheduler, but node is reported to be Dirty on the scheduler")
0 commit comments