- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Valid (0.12 sec)
-
internal/config/subnet/config.go
c.BaseURL = baseURL if isDevEnv { c.BaseURL = os.Getenv("_MINIO_SUBNET_URL") if c.BaseURL == "" { c.BaseURL = baseURLDev } } } // LookupConfig - lookup config and override with valid environment settings if any. func LookupConfig(kvs config.KVS, transport http.RoundTripper) (cfg Config, err error) { if err = config.CheckValidKeys(config.SubnetSubSys, kvs, DefaultKVS); err != nil { return cfg, err }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Nov 24 17:59:35 GMT 2023 - 3.8K bytes - Viewed (0) -
internal/config/config.go
func CheckValidKeys(subSys string, kv KVS, validKVS KVS, deprecatedKeys ...string) error { nkv := KVS{} for _, kv := range kv { // Comment is a valid key, its also fully optional // ignore it since it is a valid key for all // sub-systems. if kv.Key == Comment { continue } var skip bool for _, deprecatedKey := range deprecatedKeys { if kv.Key == deprecatedKey {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat Mar 02 05:11:03 GMT 2024 - 37.3K bytes - Viewed (0)