Fix Log Archive call to match API
Change-Id: Icf9ccd05a34fecc35e826538807e1012d0cd9642
This commit is contained in:
parent
8f95966fb9
commit
69331b6824
|
@ -192,13 +192,13 @@ class LibraAPI(object):
|
|||
data = {}
|
||||
|
||||
if args.storage:
|
||||
data['ObjectStoreType'] = args.storage
|
||||
data['objectStoreType'] = args.storage
|
||||
if args.endpoint:
|
||||
data['ObjectStoreEndpoint'] = args.endpoint
|
||||
data['objectStoreEndpoint'] = args.endpoint
|
||||
if args.basepath:
|
||||
data['ObjectStoreBasePath'] = args.basepath
|
||||
data['objectStoreBasePath'] = args.basepath
|
||||
if args.token:
|
||||
data['ObjectStoreAuthToken'] = args.token
|
||||
data['authToken'] = args.token
|
||||
|
||||
resp, body = self._post('/loadbalancers/{0}/logs'.format(args.id),
|
||||
body=data)
|
||||
|
|
Loading…
Reference in New Issue