Perfdata.measure: copy and paste error removed.
This commit is contained in:
parent
d676b83138
commit
541cb69a92
|
@ -14,7 +14,6 @@ module NSCA
|
||||||
def measure &block
|
def measure &block
|
||||||
timeout ||= 0
|
timeout ||= 0
|
||||||
exception = Class.new Timeout::Error
|
exception = Class.new Timeout::Error
|
||||||
pd = perfdatas[perfdata_label.to_sym]
|
|
||||||
timeout = pd.max
|
timeout = pd.max
|
||||||
m = realtime do
|
m = realtime do
|
||||||
begin
|
begin
|
||||||
|
|
Loading…
Reference in a new issue