Avoid JsonPatch twice

Bug #1512206 reported by Hua Wang
24
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magnum
Fix Released
Undecided
Hua Wang

Bug Description

We don't need to pass JsonPatch into apply_patch function. It will automatically convert the parameter to JsonPatch.

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

Fix proposed to branch: master
Review: https://review.openstack.org/240749

Changed in magnum:
assignee: nobody → Hua Wang (humble00)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to magnum (master)

Reviewed: https://review.openstack.org/240749
Committed: https://git.openstack.org/cgit/openstack/magnum/commit/?id=b1e16a6cc5487c1b24e56ce5c4afc0aae1f108ab
Submitter: Jenkins
Branch: master

commit b1e16a6cc5487c1b24e56ce5c4afc0aae1f108ab
Author: Hua Wang <email address hidden>
Date: Mon Nov 2 11:30:31 2015 +0800

    Avoid JsonPatch twice

    apply_patch will convert patch parameter into JsonPatch, so we don't
    need to do it. If we do, the parameter is JsonPatched twice.

    Change-Id: I9f01089ee5f9a25c27d531ee60dc60a9c472c7fe
    Closes-Bug: #1512206

Changed in magnum:
status: In Progress → Fix Committed
Adrian Otto (aotto)
Changed in magnum:
milestone: none → mitaka-1
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.