designate.py 文件源码

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

项目:charm-designate 作者: openstack 项目源码 文件源码
def ensure_api_responding(cls):
        """Check that the api service is responding.

        The retry_on_exception decorator will cause this method to be called
        until it succeeds or retry limit is exceeded"""
        hookenv.log('Checking API service is responding',
                    level=hookenv.WARNING)
        check_cmd = ['reactive/designate_utils.py', 'server-list']
        subprocess.check_call(check_cmd)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号