Fix container-server sorting for manifest listings.
The current code will always contact the container server for the first replica of the container; this fixes it to use the same backend-sort as all the other places in the proxy that talk to backends. Change-Id: If1c168b95bfc5cd120036869f3066549b7a1000a
This commit is contained in:
parent
44f00a23c1
commit
aa716dd9b8
@ -322,7 +322,7 @@ class ObjectController(Controller):
|
||||
lreq.environ['QUERY_STRING'] = \
|
||||
'format=json&prefix=%s&marker=%s' % (quote(lprefix),
|
||||
quote(marker))
|
||||
nodes = self.app.sort_nodes(lnodes)
|
||||
lnodes = self.app.sort_nodes(lnodes)
|
||||
lresp = self.GETorHEAD_base(
|
||||
lreq, _('Container'), lpartition, lnodes, lreq.path_info,
|
||||
len(lnodes))
|
||||
|
Loading…
Reference in New Issue
Block a user