- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Environ (0.18 sec)
-
cmd/common-main.go
if (quote == '"' || quote == '\'') && val[len(val)-1] == quote { val = val[1 : len(val)-1] } } return envKV{ Key: key, Value: val, }, nil } // Similar to os.Environ returns a copy of strings representing // the environment values from a file, in the form "key, value". // in a structured form. func minioEnvironFromFile(envConfigFile string) ([]envKV, error) {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat May 04 00:17:57 GMT 2024 - 35.8K bytes - Viewed (2) -
cmd/server-main.go
fmt.Println("Currently set environment settings:") ks := []string{ config.EnvAccessKey, config.EnvSecretKey, config.EnvRootUser, config.EnvRootPassword, } for _, v := range os.Environ() { // Do not print sensitive creds in debug. if slices.Contains(ks, strings.Split(v, "=")[0]) { continue } fmt.Println(v) } fmt.Println("======") }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri May 03 15:54:03 GMT 2024 - 34.9K bytes - Viewed (1)