summaryrefslogtreecommitdiff
path: root/gcp
diff options
context:
space:
mode:
Diffstat (limited to 'gcp')
-rw-r--r--gcp/meta.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcp/meta.go b/gcp/meta.go
index 2ba8cf92..9c74d5de 100644
--- a/gcp/meta.go
+++ b/gcp/meta.go
@@ -3,7 +3,6 @@ package gcp
import (
"io/ioutil"
"net/http"
- "os"
"strconv"
"strings"
"sync"
@@ -33,7 +32,7 @@ type ClientOptions struct {
// ... but cannot use in vault/auth.go as different strconv.Atoi error handling
func GetClientOptions() ClientOptions {
coInit.Do(func() {
- timeout := os.Getenv("GCP_TIMEOUT")
+ timeout := env.Getenv("GCP_TIMEOUT")
if timeout == "" {
timeout = "500"
}