riemann-babbler 0.1.8 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/riemann/babbler/plugin.rb +4 -3
- data/lib/riemann/version.rb +1 -1
- metadata +1 -1
@@ -45,8 +45,8 @@ module Riemann
|
|
45
45
|
end
|
46
46
|
|
47
47
|
# не запускаем плагин есть
|
48
|
-
def
|
49
|
-
|
48
|
+
def run_plugin
|
49
|
+
true
|
50
50
|
end
|
51
51
|
|
52
52
|
def riemann
|
@@ -58,7 +58,8 @@ module Riemann
|
|
58
58
|
alias :r :riemann
|
59
59
|
|
60
60
|
def run
|
61
|
-
|
61
|
+
# выйти если run_plugin не равен true
|
62
|
+
return 0 unless run_plugin == true
|
62
63
|
t0 = Time.now
|
63
64
|
loop do
|
64
65
|
begin
|
data/lib/riemann/version.rb
CHANGED