Do not set the context twice when forming RPC objects
The context is already being set once the object is instantiated so
there's no need to set it again. This patch fixes that and update tests
to validate if the right context has been added to the object.
Reviewed: https:/ /review. openstack. org/122401 /git.openstack. org/cgit/ openstack/ ironic/ commit/ ?id=4d7c3e828ad ff2e68fe6c434fd ad9e37440d50b4
Committed: https:/
Submitter: Jenkins
Branch: master
commit 4d7c3e828adff2e 68fe6c434fdad9e 37440d50b4
Author: Lucas Alvares Gomes <email address hidden>
Date: Thu Sep 18 13:33:31 2014 +0100
Do not set the context twice when forming RPC objects
The context is already being set once the object is instantiated so
there's no need to set it again. This patch fixes that and update tests
to validate if the right context has been added to the object.
Change-Id: I7eb3d734a990eb 70e4fbfce6c539b 268900b5241
Partial-Bug: #1314732