Skip to content

Commit

Permalink
prep for 2.0.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
majormoses committed Jan 23, 2018
1 parent 7b3599b commit 6911abe
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#### General

- [ ] Update Changelog following the conventions laid out on [Our CHANGELOG Guidelines ](https://github.com/sensu-plugins/community/blob/master/HOW_WE_CHANGELOG.md)
- [ ] Update Changelog following the conventions laid out [here](https://github.com/sensu-plugins/community/blob/master/HOW_WE_CHANGELOG.md)

- [ ] Update README with any necessary configuration snippets

Expand Down
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,13 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)

## [Unreleased]

## [2.4.1] - 2018-01-23
### Fixed
- Removed brackets that were added around `subscribers` in the `trigger_remediation` method in #15. This resulted in a successful submission with an HTTP 202, however as this resulted in the subscribers key being an array of arrays which meant that the remediation never was actually scheduled. This fixes it by doing a couple of things, first we remove the extra brackets therefore solving the problem. That being said I decided to add some additional validation of the data to ensure that minimally what is being passed in is an array and the first element is a string, if that is not the case we either error out when unable to determine a fix with a helpful message or in the case of nested arrays attempt to flatten them. (@drhey) (@majormoses)

### Changed
- updated changelog guidelines location (@majormoses)

## [2.4.0] - 2017-10-12
### Added
- `--debug` Option to display results hash at end of output message.
Expand Down Expand Up @@ -108,7 +112,8 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
### Added
- initial release

[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-sensu/compare/2.3.1...HEAD
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-sensu/compare/2.4.1...HEAD
[2.4.1]: https://github.com/sensu-plugins/sensu-plugins-sensu/compare/2.4.0...2.4.1
[2.4.0]: https://github.com/sensu-plugins/sensu-plugins-sensu/compare/2.3.1...2.4.0
[2.3.1]: https://github.com/sensu-plugins/sensu-plugins-sensu/compare/2.3.0...2.3.1
[2.3.0]: https://github.com/sensu-plugins/sensu-plugins-sensu/compare/2.2.2...2.3.0
Expand Down
2 changes: 1 addition & 1 deletion lib/sensu-plugins-sensu/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module SensuPluginsSensu
module Version
MAJOR = 2
MINOR = 4
PATCH = 0
PATCH = 1

VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
end
Expand Down

0 comments on commit 6911abe

Please sign in to comment.