Skip to content

Commit

Permalink
Remove Cradox references
Browse files Browse the repository at this point in the history
  • Loading branch information
tobias-urdin authored and mergify[bot] committed Oct 1, 2020
1 parent b2f4e5c commit c774675
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions gnocchi/carbonara.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,9 +311,8 @@ def group_serie(self, granularity, start=None):

@staticmethod
def _compress(payload):
# FIXME(jd) lz4 > 0.9.2 returns bytearray instead of bytes. But Cradox
# does not accept bytearray but only bytes, so make sure that we have a
# byte type returned.
# FIXME(jd) lz4 > 0.9.2 returns bytearray instead of bytes but we need
# a byte type returned.
return memoryview(lz4.block.compress(payload)).tobytes()


Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ redis =
swift =
python-swiftclient>=3.1.0
ceph =
cradox>=2.0.0
# No deps - need rados dist package
ceph_alternative =
python-rados>=12.2.0 # not available on pypi
prometheus =
Expand Down

0 comments on commit c774675

Please sign in to comment.