Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for errResults (0.23 sec)

  1. pkg/kubelet/container/sync_result_test.go

    		t.Errorf("PodSyncResult should be error: %v", result)
    	}
    
    	// If the PodSyncResult is added an error PodSyncResult, it should be error
    	errResult := PodSyncResult{}
    	errResult.AddSyncResult(errResults...)
    	result = PodSyncResult{}
    	result.AddSyncResult(okResults...)
    	result.AddPodSyncResult(errResult)
    	if result.Error() == nil {
    		t.Errorf("PodSyncResult should be error: %v", result)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 16:48:17 UTC 2019
    - 2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/etcd3/watcher.go

    	select {
    	case err := <-wc.errChan:
    		if isCancelError(err) {
    			break
    		}
    		errResult := transformErrorToEvent(err)
    		if errResult != nil {
    			// error result is guaranteed to be received by user before closing ResultChan.
    			select {
    			case wc.resultChan <- *errResult:
    			case <-wc.ctx.Done(): // user has given up all results
    			}
    		}
    	case <-watchClosedCh:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 10:26:38 UTC 2023
    - 18.9K bytes
    - Viewed (0)
Back to top