Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for SanitizeValue (0.08 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 37.7K bytes
    - Viewed (0)
Back to top