Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for req (0.16 sec)

  1. cmd/test-utils_test.go

    	req.Header.Set("x-amz-decoded-content-length", strconv.FormatInt(dataLength, 10))
    	req.Header.Set("content-length", strconv.FormatInt(contentLength, 10))
    
    	// Seek back to beginning.
    	body.Seek(0, 0)
    
    	// Add body
    	req.Body = io.NopCloser(body)
    	req.ContentLength = contentLength
    
    	return req, nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  2. cmd/batch-handlers.go

    	for result := range resultCh {
    		req := &BatchJobRequest{}
    		if err := req.load(ctx, objectAPI, result.Name); err != nil {
    			if !errors.Is(err, errNoSuchJob) {
    				batchLogIf(ctx, err)
    			}
    			continue
    		}
    
    		if jobType == string(req.Type()) {
    			listResult.Jobs = append(listResult.Jobs, madmin.BatchJobResult{
    				ID:      req.ID,
    				Type:    req.Type(),
    				Started: req.Started,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
Back to top