File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,12 @@ This CHANGELOG follows the format located [here](https://github.com/sensu-plugin
5
5
6
6
## [ Unreleased]
7
7
8
+ ### Breaking Change
9
+ - bumped requirement of ` sensu-plugin ` [ to 2.0] ( https://github.com/sensu-plugins/sensu-plugin/blob/master/CHANGELOG.md#v200---2017-03-29 ) (@majormoses )
10
+
11
+ ### Fixed
12
+ - check-mongodb-metric.rb: make ` --metric ` required since it is (@majormoses )
13
+
8
14
## [ 1.4.1] - 2017-09-23
9
15
### Fixed
10
16
- Support for database size metrics (@fandrews )
Original file line number Diff line number Diff line change @@ -95,7 +95,8 @@ class CheckMongodbMetric < Sensu::Plugin::Check::CLI
95
95
option :metric ,
96
96
description : 'Name of the metric to check' ,
97
97
long : '--metric METRIC' ,
98
- short : '-m METRIC'
98
+ short : '-m METRIC' ,
99
+ required : true
99
100
100
101
option :warn ,
101
102
description : 'Warn if values are above this threshold' ,
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ Gem::Specification.new do |s|
34
34
35
35
s . add_runtime_dependency 'bson' , '~> 4.0'
36
36
s . add_runtime_dependency 'mongo' , '2.4.1'
37
- s . add_runtime_dependency 'sensu-plugin' , '~> 1.2 '
37
+ s . add_runtime_dependency 'sensu-plugin' , '~> 2.0 '
38
38
39
39
s . add_development_dependency 'bundler' , '~> 1.7'
40
40
s . add_development_dependency 'codeclimate-test-reporter' , '~> 0.4'
You can’t perform that action at this time.
0 commit comments