Replace prodcertstatus with gcertstatus
Prodaccess is apparently deprecated now. Test: Build with/without credentials and check that it works Change-Id: Iaadaebe84fe9531b2d7d5f0d265751462bb827d8
This commit is contained in:
@@ -1486,7 +1486,7 @@ func (c *configImpl) GoogleProdCredsExist() bool {
|
|||||||
if googleProdCredsExistCache {
|
if googleProdCredsExistCache {
|
||||||
return 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
|
return false
|
||||||
}
|
}
|
||||||
googleProdCredsExistCache = true
|
googleProdCredsExistCache = true
|
||||||
|
Reference in New Issue
Block a user