Comment 2 for bug 1716860

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

Reviewed: https://review.openstack.org/504030
Committed: https://git.openstack.org/cgit/openstack/karbor/commit/?id=1f364aefa4114f913f5ff162a0c8fb1542b1cfdb
Submitter: Jenkins
Branch: master

commit 1f364aefa4114f913f5ff162a0c8fb1542b1cfdb
Author: ericxiett <eric_xiett@163.com>
Date: Thu Sep 14 18:54:20 2017 +0800

    Fix NoneType error when got non-exist instance of protectable.

    When calling show_resource() in protection.manager.ProtectionManager,
    the result may be None that got the NoneType has no attribute
     'to_dict'. This patch fixes it.

    Change-Id: I895fa492acbac8885cfb27640528280b69ba7c14
    Closes-Bug: #1716860