Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for MustCompile (0.11 sec)

  1. cmd/admin-handlers.go

    		// 2 - flags e.g. `--address :9000 --certs-dir /etc/minio/certs`
    		// 3 - pool args e.g. `https://node{01...16}.domain/data/disk{001...204} https://node{17...32}.domain/data/disk{001...204}`
    		re := regexp.MustCompile(`^(.*minio\s+server\s+)(--[^\s]+\s+[^\s]+\s+)*(.*)`)
    
    		// stays unchanged in the anonymized version
    		cmdLineWithoutPools := re.ReplaceAllString(cmdLine, `$1$2`)
    
    		// to be anonymized
    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/server_test.go

    	response, err = s.client.Do(request)
    	c.Assert(err, nil)
    	c.Assert(response.StatusCode, http.StatusOK)
    
    	getContent, err := io.ReadAll(response.Body)
    	c.Assert(err, nil)
    
    	r := regexp.MustCompile(
    		`<ListVersionsResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/">.*` +
    			`<DeleteMarker><Key>file.1</Key>.*<IsLatest>true</IsLatest>.*</DeleteMarker>` +
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
Back to top