Merge "Do not check ssh credentials when running gcertstatus"

This commit is contained in:
Andus Yu
2023-06-22 19:38:33 +00:00
committed by Gerrit Code Review

View File

@@ -1514,7 +1514,7 @@ func (c *configImpl) GoogleProdCredsExist() bool {
if googleProdCredsExistCache {
return googleProdCredsExistCache
}
if _, err := exec.Command("/usr/bin/gcertstatus").Output(); err != nil {
if _, err := exec.Command("/usr/bin/gcertstatus", "-nocheck_ssh").Output(); err != nil {
return false
}
googleProdCredsExistCache = true