set query_string 'qs' in direct_get_account and direct_get_container, but didn't pass it to http_connect
Change-Id: I44ded709fa174aacd66c2962231f2f5997dc0f71
This commit is contained in:
parent
6f7f95ffde
commit
fa4bb91fc6
|
@ -66,7 +66,7 @@ def direct_get_account(node, part, account, marker=None, limit=None,
|
|||
qs += '&delimiter=%s' % quote(delimiter)
|
||||
with Timeout(conn_timeout):
|
||||
conn = http_connect(node['ip'], node['port'], node['device'], part,
|
||||
'GET', path, query_string='format=json')
|
||||
'GET', path, query_string=qs)
|
||||
with Timeout(response_timeout):
|
||||
resp = conn.getresponse()
|
||||
if resp.status < 200 or resp.status >= 300:
|
||||
|
@ -154,7 +154,7 @@ def direct_get_container(node, part, account, container, marker=None,
|
|||
qs += '&delimiter=%s' % quote(delimiter)
|
||||
with Timeout(conn_timeout):
|
||||
conn = http_connect(node['ip'], node['port'], node['device'], part,
|
||||
'GET', path, query_string='format=json')
|
||||
'GET', path, query_string=qs)
|
||||
with Timeout(response_timeout):
|
||||
resp = conn.getresponse()
|
||||
if resp.status < 200 or resp.status >= 300:
|
||||
|
|
Loading…
Reference in New Issue