Deleted comment about part power in FakeRing
Deleted comment about parameter part power in Class FakeRing as its behavior got dropped in I8bfc388a04eff6491038991cdfd7686c9d961545. Change-Id: Iec7d2565a77e48493b0056021066d8d8eab65d0b Closes-Bug: #1488704
This commit is contained in:
parent
b9fd530657
commit
3a0486e532
@ -203,13 +203,6 @@ class FakeRing(Ring):
|
||||
|
||||
def __init__(self, replicas=3, max_more_nodes=0, part_power=0,
|
||||
base_port=1000):
|
||||
"""
|
||||
:param part_power: make part calculation based on the path
|
||||
|
||||
If you set a part_power when you setup your FakeRing the parts you get
|
||||
out of ring methods will actually be based on the path - otherwise we
|
||||
exercise the real ring code, but ignore the result and return 1.
|
||||
"""
|
||||
self._base_port = base_port
|
||||
self.max_more_nodes = max_more_nodes
|
||||
self._part_shift = 32 - part_power
|
||||
|
Loading…
Reference in New Issue
Block a user