sensu-plugins-aws 18.4.1 → 18.4.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 36f5b43e3a489026eaaa3e263b5ba09c3594f58e0ce2595600615ec16977cf04
4
- data.tar.gz: d12ba32bf961092c6c5e59e46798c924c966d8d5261794675f7cfd1cbbcd4657
3
+ metadata.gz: c6b3463eeb37eec8717ee8d375bab0a6cbaf222cd9c1cc732bc2b89d600acd8b
4
+ data.tar.gz: dc09e19965e9c4f0e7d39f882bb793e960efa125961eba76f5e7b722bd4abf8b
5
5
  SHA512:
6
- metadata.gz: 35ff37cfb51c2dfe99e893c67ee338905cbb0f913b61c36715fab0e95e23faff52099fb05007c2bde15f5439e5061967215ad01ecfb16b6c2fc9efd57fab417a
7
- data.tar.gz: e980c2c7bdb448de437bc75f2fc6160061d72568e9a3db31aa5871d63c61b4d5f42c5f7f704ad0aad20d62e9cf597a6776f2b9e6f68c0c4e88fdaa30e84227a1
6
+ metadata.gz: 7deb8036dca239d9c6c252efd1067378e4a06e1d1448aa3029b57dea7968738d09baabcbc39e2a90547453709d72c0cf625c80b9f3bf8bb7d54aab6ad8290e1f
7
+ data.tar.gz: 401a4c0388a510e10da6f24f32ec76c7babfaa0154238a18adfac53ff0a8528a3e98afcfaf8ad6ad887b77ddd7a660bc9b82b91c20c37f7fe399d7f2f393a01f
data/CHANGELOG.md CHANGED
@@ -5,6 +5,10 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [18.4.2] - 2019-09-23
9
+ ### Fixed
10
+ - Properly parse `--db-cluster-id` option in `check-rds.rb` (@rwha)
11
+
8
12
 
9
13
  ## [18.4.1] - 2019-08-21
10
14
  ### Security
@@ -591,7 +595,8 @@ WARNING: This release contains major breaking changes that will impact all user
591
595
  ### Added
592
596
  - initial release
593
597
 
594
- [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/18.4.1...HEAD
598
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/18.4.2...HEAD
599
+ [18.4.2]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/18.4.1...18.4.2
595
600
  [18.4.1]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/18.4.0...18.4.1
596
601
  [18.4.0]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/18.3.0...18.4.0
597
602
  [18.3.0]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/18.2.0...18.3.0
data/bin/check-rds.rb CHANGED
@@ -161,7 +161,7 @@ class CheckRDS < Sensu::Plugin::Check::CLI
161
161
 
162
162
  def find_db_cluster_writer(id)
163
163
  wr = rds.describe_db_clusters(db_cluster_identifier: id).db_clusters[0].db_cluster_members.detect(&:is_cluster_writer).db_instance_identifier
164
- unknown 'DB cluster not found.' if cl.nil?
164
+ unknown 'DB cluster not found.' if wr.nil?
165
165
  wr
166
166
  end
167
167
 
@@ -321,7 +321,7 @@ class CheckRDS < Sensu::Plugin::Check::CLI
321
321
  def run
322
322
  instances = []
323
323
  if config[:db_cluster_id]
324
- db_cluster_writer_id = find_db_cluster_writer(db_cluster_id)
324
+ db_cluster_writer_id = find_db_cluster_writer(config[:db_cluster_id])
325
325
  instances << find_db_instance(db_cluster_writer_id)
326
326
  end
327
327
 
@@ -2,7 +2,7 @@ module SensuPluginsAWS
2
2
  module Version
3
3
  MAJOR = 18
4
4
  MINOR = 4
5
- PATCH = 1
5
+ PATCH = 2
6
6
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-aws
3
3
  version: !ruby/object:Gem::Version
4
- version: 18.4.1
4
+ version: 18.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sensu-Plugins and contributors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-21 00:00:00.000000000 Z
11
+ date: 2019-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sensu-plugin