Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for good (0.13 sec)

  1. cmd/site-replication.go

    			return fmt.Errorf("bucket replication config validation error: %#v", apiErr)
    		}
    		err = newReplicationConfig.Validate(bucket, sameTarget)
    		if err != nil {
    			return err
    		}
    		// Config looks good, so we save it.
    		replCfgData, err := xml.Marshal(newReplicationConfig)
    		if err != nil {
    			return err
    		}
    
    		_, err = globalBucketMetadataSys.Update(ctx, bucket, bucketReplicationConfig, replCfgData)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  2. cmd/metrics-v2.go

    	}
    }
    
    func getMinioProcMetrics() *MetricsGroupV2 {
    	mg := &MetricsGroupV2{
    		cacheInterval: 10 * time.Second,
    	}
    	mg.RegisterRead(func(ctx context.Context) (metrics []MetricV2) {
    		if runtime.GOOS == "windows" {
    			return nil
    		}
    
    		p, err := procfs.Self()
    		if err != nil {
    			internalLogOnceIf(ctx, err, string(nodeMetricNamespace))
    			return
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  3. cmd/server_test.go

    // and then asserting the response with the expected one.
    func (s *TestSuiteCommon) TestListObjectsSpecialCharactersHandler(c *check) {
    	if runtime.GOOS == globalWindowsOSName {
    		c.Skip("skip special character test for windows")
    	}
    
    	// generate a random bucket name.
    	bucketName := getRandomBucketName()
    	// HTTP request to create the bucket.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  4. cmd/admin-handlers.go

    	}
    
    	vars := mux.Vars(r)
    	updateURL := vars["updateURL"]
    	dryRun := r.Form.Get("dry-run") == "true"
    
    	mode := getMinioMode()
    	if updateURL == "" {
    		updateURL = minioReleaseInfoURL
    		if runtime.GOOS == globalWindowsOSName {
    			updateURL = minioReleaseWindowsInfoURL
    		}
    	}
    
    	u, err := url.Parse(updateURL)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  5. cmd/object-handlers_test.go

    	credentials auth.Credentials, t *testing.T,
    ) {
    	objectName := "test?object" // use file with ? to test URL parsing...
    	if runtime.GOOS == "windows" {
    		objectName = "test-object" // ...except on Windows
    	}
    	// object used for anonymous HTTP request test.
    	anonObject := "anon-object"
    	var err error
    	opts := ObjectOptions{}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
Back to top