'Destroy a container.'

def destroy(self, name):

    if (random.random() < DESTROY_ERROR_RATE):
        jobs.setdefault(name, {})['state'] = JobState.error
    else:
        super(ChaosSchedulerClient, self).destroy(name)
