Fix Log Archive call to match API

Change-Id: Icf9ccd05a34fecc35e826538807e1012d0cd9642
This commit is contained in:
Andrew Hutchings
2013-04-10 14:28:40 +01:00
parent 8f95966fb9
commit 69331b6824

View File

@@ -192,13 +192,13 @@ class LibraAPI(object):
data = {} data = {}
if args.storage: if args.storage:
data['ObjectStoreType'] = args.storage data['objectStoreType'] = args.storage
if args.endpoint: if args.endpoint:
data['ObjectStoreEndpoint'] = args.endpoint data['objectStoreEndpoint'] = args.endpoint
if args.basepath: if args.basepath:
data['ObjectStoreBasePath'] = args.basepath data['objectStoreBasePath'] = args.basepath
if args.token: if args.token:
data['ObjectStoreAuthToken'] = args.token data['authToken'] = args.token
resp, body = self._post('/loadbalancers/{0}/logs'.format(args.id), resp, body = self._post('/loadbalancers/{0}/logs'.format(args.id),
body=data) body=data)