in src/oslogin_utils.cc [418:432]
bool ShouldRetry(long http_code) {
if (http_code == 200) {
// Request returned successfully, no need to retry.
return false;
}
if (http_code == 404) {
// Metadata key does not exist, no point of retrying.
return false;
}
if (http_code == 400) {
// Request parameters are bad, no point of retrying.
return false;
}
return true;
}