ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stoa...@apache.org
Subject ambari git commit: AMBARI-19272. Ignored mount points logged for each mount. (Attila Doroszlai via stoader)
Date Fri, 23 Dec 2016 08:28:34 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk f77ba790c -> 2f123f0ae


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/2f123f0a
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/2f123f0a
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/2f123f0a

Branch: refs/heads/trunk
Commit: 2f123f0ae969fc7304f04fc1f07abc3ff2498db2
Parents: f77ba79
Author: Attila Doroszlai <adoroszlai@hortonworks.com>
Authored: Fri Dec 23 09:27:07 2016 +0100
Committer: Toader, Sebastian <stoader@hortonworks.com>
Committed: Fri Dec 23 09:28:26 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/2f123f0a/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
 


Mime
View raw message