Compare commits

...

3 Commits

Author SHA1 Message Date
Alexandre Merle c6a17c8f17 Merge remote-tracking branch 'origin/rel/6.3' into Forward-rel/6.3-to-rel/6.4 2017-02-03 11:55:23 -08:00
David Pineau f9b536c9a0 Merge pull request #585 from scality/compat/UtapiBinAuth
cleanup: send query params to arsenal auth method
2017-02-03 11:20:23 +01:00
Rahul Padigela eb034b5d1a cleanup: send query params to arsenal auth method 2017-02-02 15:33:17 -08:00
1 changed files with 5 additions and 1 deletions

View File

@ -58,7 +58,11 @@ function _listMetrics(host,
}
});
});
auth.client.generateV4Headers(request, '', accessKey, secretKey, 's3');
// TODO: cleanup with refactor of generateV4Headers
request.path = '/buckets';
auth.client.generateV4Headers(request, { Action: 'ListMetrics' },
accessKey, secretKey, 's3');
request.path = '/buckets?Action=ListMetrics';
if (verbose) {
logger.info('request headers', { headers: request._headers });
}