提交 c01e106b 编写于 作者: S Sharif Elgamal

better comment

上级 b23cb6c2
......@@ -66,7 +66,8 @@ func enableAddon(cfg *config.ClusterConfig) error {
}
if creds.JSON == nil {
// If we're in a special environment, the creds file goes in a special place.
// Cloud Shell sends credential files to an unusual location, let's check that location
// For example, CLOUDSDK_CONFIG=/tmp/tmp.cflmvysoQE
if e := os.Getenv("CLOUDSDK_CONFIG"); e != "" {
credFile := path.Join(e, "application_default_credentials.json")
b, err := ioutil.ReadFile(credFile)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册