Skip to content

Commit 324e9f2

Browse files
author
Vitaly Shestovskiy
committed
Fix for riak per bucket replication settings encoding in protocol buffers. Codec tried to convert to python notation instead of protobuffers
1 parent b064f42 commit 324e9f2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

riak/transports/pbc/codec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ def _encode_bucket_props(self, props, msg):
295295
else:
296296
setattr(msg.props, prop, value)
297297
if 'repl' in props:
298-
msg.props.repl = REPL_TO_PY[props['repl']]
298+
msg.props.repl = REPL_TO_PB[props['repl']]
299299

300300
return msg
301301

0 commit comments

Comments
 (0)