Repository: ambari
Updated Branches:
  refs/heads/branch-2.5 238bbe58d -> c27fab37d


AMBARI-19272. Ignored mount points logged for each mount. (Attila Doroszlai via 
stoader)


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

Branch: refs/heads/branch-2.5
Commit: c27fab37d8f0b65dfc3047043c144f34c379f749
Parents: 238bbe5
Author: Attila Doroszlai <[email protected]>
Authored: Fri Dec 23 09:27:07 2016 +0100
Committer: Toader, Sebastian <[email protected]>
Committed: Fri Dec 23 09:27:07 2016 +0100

----------------------------------------------------------------------
 ambari-agent/src/main/python/ambari_agent/Hardware.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/c27fab37/ambari-agent/src/main/python/ambari_agent/Hardware.py
----------------------------------------------------------------------
diff --git a/ambari-agent/src/main/python/ambari_agent/Hardware.py 
b/ambari-agent/src/main/python/ambari_agent/Hardware.py
index 0d431a3..2233b0a 100644
--- a/ambari-agent/src/main/python/ambari_agent/Hardware.py
+++ b/ambari-agent/src/main/python/ambari_agent/Hardware.py
@@ -163,9 +163,9 @@ class Hardware:
       else:
         ignored_mounts.append(mount)
 
-      if len(ignored_mounts) > 0:
-        ignore_list = [el["mountpoint"] for el in ignored_mounts]
-        logger.info("Some mount points was ignored: {0}".format(', 
'.join(ignore_list)))
+    if len(ignored_mounts) > 0:
+      ignore_list = [el["mountpoint"] for el in ignored_mounts]
+      logger.info("Some mount points were ignored: {0}".format(', 
'.join(ignore_list)))
 
     return result_mounts
 

Reply via email to