Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ReplaceAllString (0.07 sec)

  1. cmd/admin-handlers.go

    		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
    		poolsArgs := re.ReplaceAllString(cmdLine, `$3`)
    		var anonPools []string
    
    		if !(strings.Contains(poolsArgs, "{") && strings.Contains(poolsArgs, "}")) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
Back to top