def _etcd_purge_domains(**kwargs):
    domain = kwargs['instance']
    try:
        _etcd_client.delete('/deis/domains/{}'.format(domain),
                            prevExist=True, dir=True, recursive=True)
    except __HOLE__:
        pass


# Log significant app-related events
dataset/ETHPy150Open deis/deis/controller/api/models.py/_etcd_purge_domains