Merge "Replace prodcertstatus with gcertstatus"

This commit is contained in:
Saagar Jha
2023-05-30 11:12:43 +00:00
committed by Gerrit Code Review

View File

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