summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Verboso <fverboso@unime.it>2018-05-18 12:00:04 +0200
committerFabio Verboso <fverboso@unime.it>2018-05-18 12:00:04 +0200
commit737883be4b74553bb92cd781772f3ae91728dd77 (patch)
tree185ed3283151f1e58fa08254ed37782ebd792ff5
parent7799c82537c3b5b52a299be04a68fd5fa301837c (diff)
Plugin Decoding0.2.0
fix decoding in the creation plugin Change-Id: I77f2cf85ddd40b7564999ab5d1d3720767651e9d
Notes
Notes (review): Code-Review+2: Fabio Verboso <fverboso@unime.it> Workflow+1: Fabio Verboso <fverboso@unime.it> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 18 May 2018 13:34:00 +0000 Reviewed-on: https://review.openstack.org/569370 Project: openstack/iotronic Branch: refs/heads/master
-rw-r--r--iotronic/conductor/endpoints.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/iotronic/conductor/endpoints.py b/iotronic/conductor/endpoints.py
index d1385a2..c189c44 100644
--- a/iotronic/conductor/endpoints.py
+++ b/iotronic/conductor/endpoints.py
@@ -205,7 +205,7 @@ class ConductorEndpoint(object):
205 new_plugin = serializer.deserialize_entity(ctx, plugin_obj) 205 new_plugin = serializer.deserialize_entity(ctx, plugin_obj)
206 LOG.debug('Creating plugin %s', 206 LOG.debug('Creating plugin %s',
207 new_plugin.name) 207 new_plugin.name)
208 new_plugin.code = cpickle.dumps(new_plugin.code, 0) 208 new_plugin.code = cpickle.dumps(new_plugin.code, 0).decode()
209 new_plugin.create() 209 new_plugin.create()
210 return serializer.serialize_entity(ctx, new_plugin) 210 return serializer.serialize_entity(ctx, new_plugin)
211 211