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:
parent
9d239236b9
commit
cda7f7a505
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user