diff --git a/monasca_agent/collector/jmxfetch.py b/monasca_agent/collector/jmxfetch.py index 0322eaf4..ae7ead34 100644 --- a/monasca_agent/collector/jmxfetch.py +++ b/monasca_agent/collector/jmxfetch.py @@ -105,7 +105,7 @@ class JMXFetch(object): java_bin_path: is the path to the java executable. It was previously set in the "instance" part of the yaml file of the jmx check. So we need to parse yaml files to get it. - We assume that this value is alwayws the same for every jmx check + We assume that this value is always the same for every jmx check so we can return the first value returned java_options: is string contains options that will be passed to java_bin_path diff --git a/tests_to_fix/test_postfix.py b/tests_to_fix/test_postfix.py index db852f07..2b81b063 100644 --- a/tests_to_fix/test_postfix.py +++ b/tests_to_fix/test_postfix.py @@ -84,7 +84,7 @@ class TestPostfix(unittest.TestCase): # output what went in... per queue print() for queue, count in self.in_count.iteritems(): - print('Test messges put into', queue, '= ', self.in_count[queue][0]) + print('Test messages put into', queue, '= ', self.in_count[queue][0]) # output postfix.py dd-agent plugin counts... per queue print()