Do not check ssh credentials when running gcertstatus
reproxy only requires LOAS credentials for authentication. Append the -nocheck_ssh option to gcertstatus so we don't check ssh credentials. Test: RBE successfully started after running gcertdestroy --nodestroy_loas2 Bug: b/287297140 Change-Id: I413931b10d8e8d9ae2f8acd7ebfe37d8b3bba455
This commit is contained in:
parent
98bb2768b9
commit
0b3dc03f9d
1 changed files with 1 additions and 1 deletions
|
@ -1511,7 +1511,7 @@ func (c *configImpl) GoogleProdCredsExist() bool {
|
||||||
if googleProdCredsExistCache {
|
if googleProdCredsExistCache {
|
||||||
return 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
|
return false
|
||||||
}
|
}
|
||||||
googleProdCredsExistCache = true
|
googleProdCredsExistCache = true
|
||||||
|
|
Loading…
Reference in a new issue