Fix docs to use real function name
[integration/test.git] / csit / libraries / Appenders / ElasticsearchAppender.py
index 6172da8a3d68e1b07f67d7c73dc2eaaddd544412..52cbe746c0a73a4f313674c55998153fdb0bc79e 100644 (file)
@@ -11,7 +11,7 @@
             call
                     foo.get_jvm_memory(conn), foo.get_jvm_classloading(conn),
                     foo.get_jvm_threadingconn(),
-                    foo.get_jvm_garbageCollector(conn),
+                    foo.get_jvm_garbagecollector(conn),
                     foo.get_jvm_operatingsystem(conn)
             returns
                     the latest resource usage statistics dictionary object
@@ -39,8 +39,8 @@ mpl.use('Agg')
 
 
 class MBeanNotFoundError(Exception):
-        def __init__(self, message, errors):
-            super(MBeanNotFoundError, self).__init__(message)
+    def __init__(self, message, errors):
+        super(MBeanNotFoundError, self).__init__(message)
 
 
 class BaseAppender(object):
@@ -173,8 +173,8 @@ class ElasticsearchAppender(BaseAppender):
 
     def _get_index(self, connection, need_all=False):
         indices = sorted([i for i in
-                         connection.indices.get_mapping().keys()
-                         if i.startswith('karaf')])
+                          connection.indices.get_mapping().keys()
+                          if i.startswith('karaf')])
         if need_all:
             return indices
         else: