Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CheckErr (0.32 sec)

  1. src/net/http/transport_test.go

    type cancelTest struct {
    	mode     testMode
    	newReq   func(req *Request) *Request       // prepare the request to cancel
    	cancel   func(tr *Transport, req *Request) // cancel the request
    	checkErr func(when string, err error)      // verify the expected error
    }
    
    // runCancelTestTransport uses Transport.CancelRequest.
    func runCancelTestTransport(t *testing.T, mode testMode, f func(t *testing.T, test cancelTest)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_pods.go

    		dirPath, volName := vol.BlockVolumeMapper.GetPodDeviceMapPath()
    		symlinkPath := filepath.Join(dirPath, volName)
    		if islinkExist, checkErr := blkutil.IsSymlinkExist(symlinkPath); checkErr != nil {
    			return nil, checkErr
    		} else if islinkExist {
    			// Check readOnly in PVCVolumeSource and set read only permission if it's true.
    			permission := "mrw"
    			if vol.ReadOnly {
    				permission = "r"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
Back to top