'Deletes a snapshot.'

def delete_snapshot(self, snapshot):

    if snapshot.provider_id:
        with self._get_client() as c:
            c.delete_snapshot(snapshot.provider_id)
    else:
        LOG.info('Snapshot    %s    not    found', snapshot.name)
