From 541cb69a92f5312153d1f088d8cc1673c5eb7040 Mon Sep 17 00:00:00 2001 From: Denis Knauf Date: Wed, 10 Apr 2013 15:27:15 +0200 Subject: [PATCH] Perfdata.measure: copy and paste error removed. --- lib/nsca/check.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/nsca/check.rb b/lib/nsca/check.rb index 6b59a47..67aa3bc 100644 --- a/lib/nsca/check.rb +++ b/lib/nsca/check.rb @@ -14,7 +14,6 @@ module NSCA def measure &block timeout ||= 0 exception = Class.new Timeout::Error - pd = perfdatas[perfdata_label.to_sym] timeout = pd.max m = realtime do begin