iam_service.py 文件源码

python
阅读 18 收藏 0 点赞 0 评论 0

项目:keyrotator 作者: GoogleCloudPlatform 项目源码 文件源码
def retry_if_500_error(exception):
  """Allow retry if we get a 500 error from IAM API."""
  logging.info("Received %s, retrying...", exception)
  return (isinstance(exception, errors.HttpError)
          and exception.resp.status >= 500
          and exception.resp.status < 600)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号