From cda7f7a5050e88bc99bfdd823cfff625dc5933ea Mon Sep 17 00:00:00 2001
From: Mitsuhiko Yamazaki <yamazaki-mitsuhiko@cnt.mxc.nes.nec.co.jp>
Date: Thu, 31 Jan 2013 17:44:48 +0900
Subject: [PATCH] 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
---
 novaclient/v1_1/coverage_ext.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/novaclient/v1_1/coverage_ext.py b/novaclient/v1_1/coverage_ext.py
index f0b099e1d..6364da419 100644
--- a/novaclient/v1_1/coverage_ext.py
+++ b/novaclient/v1_1/coverage_ext.py
@@ -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,