File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
55
66# [ Unreleased]
77
8+ # [ 0.4.4]
9+ - Fixes a bug introduced to ` utils.config_files ` which only returns ` /etc/sensu/config.json ` (@barryorourke )
10+
811# [ 0.4.3]
912## Fixed
1013- Fixes ` utils.config_files ` so that it returns a list of files, rather than a list of ` None ` 's (@barryorourke )
@@ -54,7 +57,8 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
5457## [ 0.1.0] 2014-01-06
5558- Initial release (@zsprackett )
5659
57- [ Unreleased ] : https://github.com/sensu-plugins/sensu-plugin-python/compare/0.4.3...HEAD
60+ [ Unreleased ] : https://github.com/sensu-plugins/sensu-plugin-python/compare/0.4.4...HEAD
61+ [ 0.4.3 ] : https://github.com/sensu-plugins/sensu-plugin-python/compare/0.4.3...0.4.4
5862[ 0.4.2 ] : https://github.com/sensu-plugins/sensu-plugin-python/compare/0.4.2...0.4.3
5963[ 0.4.1 ] : https://github.com/sensu-plugins/sensu-plugin-python/compare/0.4.1...0.4.2
6064[ 0.4.1 ] : https://github.com/sensu-plugins/sensu-plugin-python/compare/0.4.0...0.4.1
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ def config_files():
2121 else :
2222 files = ['/etc/sensu/config.json' ]
2323 filenames = [f for f in os .listdir ('/etc/sensu/conf.d' )
24- if os .path .splitext (f )[1 ] == 'json' ]
24+ if os .path .splitext (f )[1 ] == '. json' ]
2525 for filename in filenames :
2626 files .append ('/etc/sensu/conf.d/{}' .format (filename ))
2727 return files
Original file line number Diff line number Diff line change 22
33setup (
44 name = 'sensu_plugin' ,
5- version = '0.4.3 ' ,
5+ version = '0.4.4 ' ,
66 author = 'Sensu-Plugins and contributors' ,
7788 packages = ['sensu_plugin' , 'sensu_plugin.test' ],
You can’t perform that action at this time.
0 commit comments