Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for err (0.04 sec)

  1. cmd/admin-handlers.go

    		local = "127.0.0.1"
    	}
    
    	u, err := url.Parse(updateURL)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	content, err := downloadReleaseURL(u, updateTimeout, mode)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	sha256Sum, lrTime, releaseInfo, err := parseReleaseData(content)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  2. cmd/storage-datatypes_gen.go

    			z.Volume, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Volume")
    				return
    			}
    		case "fp":
    			z.FilePath, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "FilePath")
    				return
    			}
    		case "fi":
    			err = z.FI.DecodeMsg(dc)
    			if err != nil {
    				err = msgp.WrapError(err, "FI")
    				return
    			}
    		default:
    			err = dc.Skip()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 150.2K bytes
    - Viewed (0)
  3. cmd/site-replication.go

    		Version: srStateFormatVersion1,
    		SRState: srStateV1(state),
    	}
    	buf, err := json.Marshal(sdata)
    	if err != nil {
    		return err
    	}
    
    	objAPI := newObjectLayerFn()
    	if objAPI == nil {
    		return errServerNotInitialized
    	}
    
    	if err = saveConfig(ctx, objAPI, getSRStateFilePath(), buf); err != nil {
    		return err
    	}
    
    	for _, err := range globalNotificationSys.ReloadSiteReplicationConfig(ctx) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  4. cmd/server_test.go

    		s.accessKey, s.secretKey, s.signer)
    	c.Assert(err, nil)
    
    	response, err = s.client.Do(request)
    	c.Assert(err, nil)
    	c.Assert(response.StatusCode, http.StatusOK)
    
    	bucketPolicyReadBuf, err := io.ReadAll(response.Body)
    	c.Assert(err, nil)
    	// Verify if downloaded policy matches with previously uploaded.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  5. cmd/object-handlers.go

    		return
    	}
    
    	vars := mux.Vars(r)
    	bucket := vars["bucket"]
    	object, err := unescapePath(vars["object"])
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	opts, err := getOpts(ctx, r, bucket, object)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	getObjectInfo := objectAPI.GetObjectInfo
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  6. cmd/bucket-replication.go

    	cfg, err := getReplicationConfig(ctx, bucket)
    	if err != nil {
    		replLogOnceIf(ctx, err, bucket)
    		return nil, err
    	}
    	tgts, err := globalBucketTargetSys.ListBucketTargets(ctx, bucket)
    	if err != nil {
    		replLogIf(ctx, err)
    		return nil, err
    	}
    
    	objInfoCh := make(chan itemOrErr[ObjectInfo], 10)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  7. cmd/object-handlers_test.go

    		var rs *HTTPRangeSpec
    		if byteRange != "" {
    			rs, err = parseRequestRangeSpec(byteRange)
    			if err != nil {
    				t.Fatalf("Object: %s Case %d ByteRange: %s: Unexpected err: %v", object, i+1, byteRange, err)
    			}
    		}
    		off, length, err = rs.GetOffsetLength(objectLength(oi))
    		if err != nil {
    			t.Fatalf("Object: %s Case %d ByteRange: %s: Unexpected err: %v", object, i+1, byteRange, err)
    		}
    
    		readers := []io.Reader{}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  8. cmd/metrics-v2.go

    	if err := registry.Register(prometheus.NewProcessCollector(prometheus.ProcessCollectorOpts{
    		Namespace:    minioNamespace,
    		ReportErrors: true,
    	})); err != nil {
    		logger.CriticalIf(GlobalContext, err)
    	}
    	if err := registry.Register(prometheus.NewGoCollector()); err != nil {
    		logger.CriticalIf(GlobalContext, err)
    	}
    	gatherers := prometheus.Gatherers{
    		registry,
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  9. doc/go1.17_spec.html

    with the same name as a result parameter is in
    <a href="#Declarations_and_scope">scope</a> at the place of the return.
    </p>
    
    <pre>
    func f(n int) (res int, err error) {
    	if _, err := f(n-1); err != nil {
    		return  // invalid return statement: err is shadowed
    	}
    	return
    }
    </pre>
    
    <h3 id="Break_statements">Break statements</h3>
    
    <p>
    A "break" statement terminates execution of the innermost
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  10. src/main/webapp/js/bootstrap.min.js.map

    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Jan 11 06:54:28 UTC 2020
    - 189.9K bytes
    - Viewed (0)
Back to top