File tree 3 files changed +8
-3
lines changed
3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,10 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
5
5
6
6
# [ Unreleased]
7
7
8
+ # [ 0.4.4]
9
+ ## Fixed
10
+ - Fixes a bug introduced to ` utils.config_files ` which only returns ` /etc/sensu/config.json ` (@barryorourke )
11
+
8
12
# [ 0.4.3]
9
13
## Fixed
10
14
- Fixes ` utils.config_files ` so that it returns a list of files, rather than a list of ` None ` 's (@barryorourke )
@@ -54,7 +58,8 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
54
58
## [ 0.1.0] 2014-01-06
55
59
- Initial release (@zsprackett )
56
60
57
- [ Unreleased ] : https://github.com/sensu-plugins/sensu-plugin-python/compare/0.4.3...HEAD
61
+ [ Unreleased ] : https://github.com/sensu-plugins/sensu-plugin-python/compare/0.4.4...HEAD
62
+ [ 0.4.3 ] : https://github.com/sensu-plugins/sensu-plugin-python/compare/0.4.3...0.4.4
58
63
[ 0.4.2 ] : https://github.com/sensu-plugins/sensu-plugin-python/compare/0.4.2...0.4.3
59
64
[ 0.4.1 ] : https://github.com/sensu-plugins/sensu-plugin-python/compare/0.4.1...0.4.2
60
65
[ 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():
21
21
else :
22
22
files = ['/etc/sensu/config.json' ]
23
23
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' ]
25
25
for filename in filenames :
26
26
files .append ('/etc/sensu/conf.d/{}' .format (filename ))
27
27
return files
Original file line number Diff line number Diff line change 2
2
3
3
setup (
4
4
name = 'sensu_plugin' ,
5
- version = '0.4.3 ' ,
5
+ version = '0.4.4 ' ,
6
6
author = 'Sensu-Plugins and contributors' ,
7
7
author_email = 'sensu-users@googlegroups.com' ,
8
8
packages = ['sensu_plugin' , 'sensu_plugin.test' ],
You can’t perform that action at this time.
0 commit comments