Comment 3 for bug 1718226

Submitter: Jenkins
Branch: master

commit ad33ae5771de3a90472ca836a7b2292c6334fe9e
Author: Balazs Gibizer <email address hidden>
Date: Fri Jul 14 17:19:03 2017 +0200

    use already loaded BDM in instance.create

    In I18e7483ec9a484a660e1d306fdc0986e1d5f952b BDM was added to the instance
    notifications. In general to add BDM to the payload an exta DB query is
    needed. However the BDM is already locaded before the
    notify_about_instance_create is called to send the notification. In this cases
    loading the BDM again is unnecessary as the already loaded BDM can be reused.

    This patch makes sure that notify_about_instance_create is called with the
    already loaded BDM.

    The remaining instance related versioned notification calls does not have
    BDM already loaded.

    Change-Id: Ic25de45c18348206f0309da6d4997f4bf336acb2
    Closes-Bug: #1718226