]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Serialize the notification payload
authorjohn-griffith <john.griffith@solidfire.com>
Thu, 20 Mar 2014 03:53:41 +0000 (21:53 -0600)
committerFlavio Percoco <flaper87@gmail.com>
Tue, 25 Mar 2014 09:37:32 +0000 (10:37 +0100)
commitcaff15af26b7622b2d6f84765bbc0ba8434a24be
treee0eb35615d220a8fd34fb63cbab43cd98da9a52a
parenta4291a82fc6269b34cc5a9b29937134a67f47851
Serialize the notification payload

Notification payload in oslomessaging needs to be
serialized correctly, currently it's not.

Use json to encode the payload.
Closes-Bug: 1294949

Change-Id: Idb2c13981cc1c60ed02445a28220d1dab1529d2b
cinder/rpc.py
cinder/tests/fake_notifier.py