Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for SanitizeValue (0.56 sec)

  1. internal/config/config.go

    			continue
    		}
    		if len(kv) == 1 && prevK != "" {
    			value := strings.Join([]string{
    				kvs.Get(prevK),
    				madmin.SanitizeValue(kv[0]),
    			}, KvSpaceSeparator)
    			kvs.Set(prevK, value)
    			continue
    		}
    		if len(kv) == 2 {
    			prevK = kv[0]
    			kvs.Set(prevK, madmin.SanitizeValue(kv[1]))
    			continue
    		}
    		return false, Errorf("key '%s', cannot have empty value", kv[0])
    	}
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 37.7K bytes
    - Viewed (0)
Back to top