Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testSyncBatch (0.1 sec)

  1. pkg/kubelet/status/status_manager_test.go

    // will be triggered, which will mess up all the old unit test.
    // To simplify the implementation of unit test, we add testSyncBatch() here, it will make sure the statuses in
    // pod manager the same with cached ones before syncBatch(true) so as to avoid reconciling.
    func (m *manager) testSyncBatch() {
    	for uid, status := range m.podStatuses {
    		pod, ok := m.podManager.GetPodByUID(uid)
    		if ok {
    			pod.Status = status.status
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 16:27:19 UTC 2024
    - 68.1K bytes
    - Viewed (0)
Back to top