Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 38 for OK (0.13 sec)

  1. cmd/peer-rest-server.go

    	wg.Wait()
    	return nil
    }
    
    func (s *peerRESTServer) BackgroundHealStatusHandler(_ *grid.MSS) (*grid.JSON[madmin.BgHealState], *grid.RemoteErr) {
    	state, ok := getLocalBackgroundHealStatus(context.Background(), newObjectLayerFn())
    	if !ok {
    		return nil, grid.NewRemoteErr(errServerNotInitialized)
    	}
    	return madminBgHealState.NewJSONWith(&state), nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  2. cmd/bucket-handlers.go

    	// all bucket entries with new domain name.
    	domainMissing := err == dns.ErrDomainMissing
    	if dnsBuckets != nil {
    		for _, bucket := range buckets {
    			bucketsSet.Add(bucket.Name)
    			r, ok := dnsBuckets[bucket.Name]
    			if !ok {
    				bucketsToBeUpdated.Add(bucket.Name)
    				continue
    			}
    			if !globalDomainIPs.Intersection(set.CreateStringSet(getHostsSlice(r)...)).IsEmpty() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  3. cmd/batch-handlers.go

    	for k, v := range objInfo.Metadata {
    		oi.UserDefined[k] = v[0]
    	}
    
    	ce, ok := oi.UserDefined[xhttp.ContentEncoding]
    	if !ok {
    		ce, ok = oi.UserDefined[strings.ToLower(xhttp.ContentEncoding)]
    	}
    	if ok {
    		oi.ContentEncoding = ce
    	}
    
    	_, ok = oi.UserDefined[xhttp.AmzStorageClass]
    	if !ok {
    		oi.UserDefined[xhttp.AmzStorageClass] = objInfo.StorageClass
    	}
    
    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)
  4. cmd/erasure-object.go

    		// verify if it has common "etag" at least.
    		if onlineMeta[i].IsValid() && onlineMeta[i].Erasure.Equal(fi.Erasure) {
    			ok := onlineMeta[i].ModTime.Equal(modTime)
    			if modTime.IsZero() || modTime.Equal(timeSentinel) {
    				ok = etag != "" && etag == fi.Metadata["etag"]
    			}
    			if ok {
    				continue
    			}
    		} // in all other cases metadata is corrupt, do not read from it.
    
    		onlineMeta[i] = FileInfo{}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  5. tests/query_test.go

    					switch name {
    					case "Name":
    						if _, ok := first[dbName].(string); !ok {
    							t.Errorf("invalid data type for %v, got %#v", dbName, first[dbName])
    						}
    					case "Age":
    						if _, ok := first[dbName].(uint); !ok {
    							t.Errorf("invalid data type for %v, got %#v", dbName, first[dbName])
    						}
    					case "Birthday":
    						if _, ok := first[dbName].(*time.Time); !ok {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

            try {
                final PingResponse pingResponse = searchEngineClient.ping();
                writeJsonResponse(pingResponse.getStatus() == 0 ? HttpServletResponse.SC_OK : HttpServletResponse.SC_SERVICE_UNAVAILABLE,
                        "\"data\":" + pingResponse.getMessage());
            } catch (final Exception e) {
                if (logger.isDebugEnabled()) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 02:17:23 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  7. cmd/admin-handlers-users.go

    	if objectAPI == nil {
    		return
    	}
    
    	vars := mux.Vars(r)
    	accessKey := vars["accessKey"]
    
    	ok, _, err := globalIAMSys.IsTempUser(accessKey)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    	if ok {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, errIAMActionNotAllowed), r.URL)
    		return
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-v2.go

    	}
    	fi.DataDir = uuid.UUID(j.DataDir).String()
    
    	if st, ok := j.MetaSys[metaTierStatus]; ok {
    		fi.TransitionStatus = string(st)
    	}
    	if o, ok := j.MetaSys[metaTierObjName]; ok {
    		fi.TransitionedObjName = string(o)
    	}
    	if rv, ok := j.MetaSys[metaTierVersionID]; ok {
    		fi.TransitionVersionID = string(rv)
    	}
    	if sc, ok := j.MetaSys[metaTierName]; ok {
    		fi.TransitionTier = string(sc)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  9. internal/bucket/lifecycle/lifecycle_test.go

    	for i, tc := range tests {
    		w := httptest.NewRecorder()
    		lc.SetPredictionHeaders(w, tc.obj)
    		if expHdrs, ok := w.Header()[xhttp.AmzExpiration]; ok && !strings.Contains(expHdrs[0], lc.Rules[tc.expRuleID].ID) {
    			t.Fatalf("Test %d: Expected %s header", i+1, xhttp.AmzExpiration)
    		}
    		if transHdrs, ok := w.Header()[xhttp.MinIOTransition]; ok {
    			if !strings.Contains(transHdrs[0], lc.Rules[tc.transRuleID].ID) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  10. cmd/test-utils_test.go

    	// Get header map.
    	headerMap := make(map[string][]string)
    	for k, vv := range req.Header {
    		// If request header key is not in ignored headers, then add it.
    		if _, ok := ignoredStreamingHeaders[http.CanonicalHeaderKey(k)]; !ok {
    			headerMap[strings.ToLower(k)] = vv
    		}
    	}
    
    	// Get header keys.
    	headers := []string{"host"}
    	for k := range headerMap {
    		headers = append(headers, k)
    	}
    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)
Back to top