Skip to content

Commit 8920afc

Browse files
authored
Merge pull request #21 from barryorourke/variable_name_fix
fix variable name changes that were missed during 0.3.0 release
2 parents 4031408 + 5235694 commit 8920afc

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).
33

44
This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins/community/blob/master/HOW_WE_CHANGELOG.md)
55

6+
## [0.3.2] 2017-10-10
7+
### Fixed
8+
- Variable name changes in the metrics classed missed during the initial 0.3.0 release (@barryorourke)
9+
610
## [0.3.1] 2017-10-10
711
### Fixed
812
- Really obvious logical error introduced whilst making 0.3.0 pass tests (@barryorourke)

sensu_plugin/metric.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class SensuPluginMetricGraphite(SensuPlugin):
2626
def output(self, *args):
2727
if args[0] is None:
2828
print()
29-
elif isinstance(m[0], Exception) or m[1] is None:
29+
elif isinstance(args[0], Exception) or args[1] is None:
3030
print(args[0])
3131
else:
3232
l_args = list(args)

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name='sensu_plugin',
5-
version='0.3.1',
5+
version='0.3.2',
66
author='Sensu-Plugins and contributors',
77
author_email='sensu-users@googlegroups.com',
88
packages=['sensu_plugin', 'sensu_plugin.test'],

0 commit comments

Comments
 (0)