def _delete(self, opts):
    if (opts.name is None):
        _exit_if_errors(['--xdcr-cluster-name is required to deleta a cluster connection'])
    (_, errors) = self.rest.delete_xdcr_reference(opts.name)
    _exit_if_errors(errors)
    _success('Cluster reference deleted')
def _delete(self, opts):
    if (opts.name is None):
        _exit_if_errors(['--xdcr-cluster-name is required to deleta a cluster connection'])
    (_, errors) = self.rest.delete_xdcr_reference(opts.name)
    _exit_if_errors(errors)
    _success('Cluster reference deleted')