sensu-plugins-jolokia 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/check-java-app-deployment.rb +1 -1
- data/lib/sensu-plugins-jolokia/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 929c619e28574b0b3947ae5b989f1122c18cd708
|
4
|
+
data.tar.gz: 3abdec3057d919a9e468d602e3ed14bd0689c8e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 376d7e43a6552790a331ab86bc4064d69c307036ba59a595c8b858cf864c999a88205c105a00673b7e2efeb498ef89a62e689215f0a230ab0a1808b626703912
|
7
|
+
data.tar.gz: 6735aafe70a8a080449432a4d9046013776e066cd8cd012a5afe6cb8bcb1db95f8db10724b95dd5ce393bf89ed41e6dc1fe38693405299dc57a8d7ed1f8571e9
|
@@ -48,7 +48,7 @@ class CheckJavaAppDeploymnet < Sensu::Plugin::Check::CLI
|
|
48
48
|
jolokia = Jolokia.new(url: config[:url])
|
49
49
|
|
50
50
|
# Create array from apps option
|
51
|
-
apps = config[:apps].split(',')
|
51
|
+
apps = config[:apps].gsub(/\s+/, '').split(',')
|
52
52
|
|
53
53
|
# Empty array for app status
|
54
54
|
apps_with_errors = []
|