You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by di...@apache.org on 2016/06/27 14:26:03 UTC

ambari git commit: AMBARI-17379: set verbose on HostCleanup.py does not work (dili)

Repository: ambari
Updated Branches:
  refs/heads/trunk 49fcedd73 -> bf1955964


AMBARI-17379: set verbose on HostCleanup.py does not work (dili)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/bf195596
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/bf195596
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/bf195596

Branch: refs/heads/trunk
Commit: bf1955964ec5c4ee4be2e4a4ee5f0471182bbb54
Parents: 49fcedd
Author: Di Li <di...@apache.org>
Authored: Mon Jun 27 10:24:41 2016 -0400
Committer: Di Li <di...@apache.org>
Committed: Mon Jun 27 10:24:41 2016 -0400

----------------------------------------------------------------------
 ambari-agent/src/main/python/ambari_agent/HostCleanup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/bf195596/ambari-agent/src/main/python/ambari_agent/HostCleanup.py
----------------------------------------------------------------------
diff --git a/ambari-agent/src/main/python/ambari_agent/HostCleanup.py b/ambari-agent/src/main/python/ambari_agent/HostCleanup.py
index 1655fbd..e9ae8e5 100644
--- a/ambari-agent/src/main/python/ambari_agent/HostCleanup.py
+++ b/ambari-agent/src/main/python/ambari_agent/HostCleanup.py
@@ -538,7 +538,7 @@ def main():
   hostCheckResultPath = os.path.join(hostCheckFileDir, OUTPUT_FILE_NAME)
 
   parser = optparse.OptionParser()
-  parser.add_option("-v", "--verbose", dest="verbose", action="store_false",
+  parser.add_option("-v", "--verbose", dest="verbose", action="store_true",
                     default=False, help="output verbosity.")
   parser.add_option("-f", "--file", dest="inputfiles",
                     default=hostCheckFilesPaths,