- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for loadEnvVarsFromFiles (0.11 seconds)
-
cmd/common-main.go
if err != nil { if os.IsNotExist(err) { // ignore if file doesn't exist. return "", nil } return "", err } return string(bytes.TrimSpace(credBuf)), nil } func loadEnvVarsFromFiles() { if env.IsSet(config.EnvAccessKeyFile) { accessKey, err := readFromSecret(env.Get(config.EnvAccessKeyFile, "")) if err != nil { logger.Fatal(config.ErrInvalidCredentials(err),Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 32.5K bytes - Click Count (3) -
cmd/server-main.go
if err != nil { // We can only log here since we need globalConsoleSys initialized logger.Fatal(err, "invalid --logrorate-dir option") } }) // Always load ENV variables from files first. loadEnvVarsFromFiles() // Handle early server environment vars serverHandleEarlyEnvVars() // Handle all server command args and build the disks layout bootstrapTrace("serverHandleCmdArgs", func() {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue May 27 15:18:36 GMT 2025 - 35.9K bytes - Click Count (4)