Comment 4 for bug 1600141

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

Reviewed: https://review.openstack.org/339457
Committed: https://git.openstack.org/cgit/openstack/ironic-inspector/commit/?id=522113da4390347a9cd55e89a7eddf6e14527eff
Submitter: Jenkins
Branch: master

commit 522113da4390347a9cd55e89a7eddf6e14527eff
Author: Alfredo Moralejo <email address hidden>
Date: Fri Jul 8 11:11:13 2016 +0200

    Add callback function to manage missing hooks

    Before https://review.openstack.org/#/c/337043/,
    stevedore.NamedExtensionManager returned KeyError
    when calling with non-existing names and name_order=True.

    After the mentioned change this is not longer true,
    so we used the just added on_missing_entrypoints_callback option
    to customize the behavior in this cases and make it raise
    a custom exception MissingHookError.

    Change-Id: I1f1edc0b7a82a16bf9be4113db61ee1cd0080db4
    Closes-Bug: #1600141