Comment 4 for bug 1471168

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/200808
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=6d86a3eab6a1ce735b79bbaab87c8da390e3393c
Submitter: Jenkins
Branch: master

commit 6d86a3eab6a1ce735b79bbaab87c8da390e3393c
Author: ChangBo Guo(gcb) <email address hidden>
Date: Sat Jul 11 17:27:30 2015 +0800

    libvirt: Remove dead code path in method clear_volume

    In oslo.config StrOpt provide parameter choices, that means the option's
    value must be in the choices, otherewise an exception will be raised.
    That means volume_clear always in ('none', 'zero', 'shred'), this commit
    removes the code path which never run.

    Change-Id: I88e1034a391230cc781cd66911381be2fdea046d
    Partial-Bug: #1471168