designate_bind.py 文件源码

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

项目:charm-designate-bind 作者: openstack 项目源码 文件源码
def create_sync_src_info_file(self):
        """Touch a file which indicates where this sync file came from

        :returns: None
        """
        unit_name = hookenv.local_unit().replace('/', '_')
        touch_file = '{}/juju-zone-src-{}'.format(ZONE_DIR, unit_name)
        open(touch_file, 'w+').close()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号