kennel 1.18.0 → 1.18.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kennel/unmuted_alerts.rb +2 -4
- data/lib/kennel/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a0f12ddf33a79e3990fa9c0c3acd35ed93da8c2e6c8474d7ef99fd27a5038f50
|
4
|
+
data.tar.gz: 7e37bccbab376f4f13befdd33505b908c274099fc8ad42d2301260f10b8e80dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f9ed0231f26e3b848cdbcde6806016be2294fe03c3dcd1829c699dfb82bf5083d3d71aa93eb1acec541007ce581de9847a37aca6ba896b2b658b6a90f9aa0d8
|
7
|
+
data.tar.gz: f11bf2f9c7a0118e9d4181cee88025aed13c5d06800b2dc855301c13fb069c3c4e73085a1559efcdf30feec5c857af26dc3b476d8e6795abe42ed4e910b5fa93
|
@@ -44,13 +44,11 @@ module Kennel
|
|
44
44
|
end
|
45
45
|
|
46
46
|
def filtered_monitors(api, tag)
|
47
|
-
# Download all monitors
|
47
|
+
# Download all monitors with given tag
|
48
48
|
monitors = Progress.progress("Downloading") do
|
49
|
-
api.list("monitor")
|
49
|
+
api.list("monitor", monitor_tags: tag)
|
50
50
|
end
|
51
51
|
|
52
|
-
# only keep monitors from selected tag
|
53
|
-
monitors.select! { |m| m[:tags].include? tag }
|
54
52
|
raise "No monitors for #{tag} found, check your spelling" if monitors.empty?
|
55
53
|
|
56
54
|
# only keep monitors that are not completely silenced
|
data/lib/kennel/version.rb
CHANGED