Fix default format of 'nova coverage-report'

'nova coverage-report' returns an error because nova server returns
error if the format is HTML and combine is False.
And 'nova coverage-start' and 'nova coverage-report' do it now.

After applying this patch, we can avoid this problem and text format
report is created when we use 'nova coverage-report'

Fixes bug 1110972

Change-Id: Ib3d05453de638157152a50ea814e44e6cbc19348
This commit is contained in:
Mitsuhiko Yamazaki 2013-01-31 17:44:48 +09:00
parent 9d239236b9
commit cda7f7a505
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ class CoverageManager(base.ManagerWithFind):
url = '/os-coverage/action'
return self.api.client.post(url, body=body)
def report(self, filename, xml=False, html=True):
def report(self, filename, xml=False, html=False):
body = {
'report': {
'file': filename,