perfdata_for: perfdata_label -> label
This commit is contained in:
parent
21031daf8e
commit
d676b83138
|
@ -100,8 +100,8 @@ module NSCA
|
||||||
if label.is_a? PerformanceData::Base
|
if label.is_a? PerformanceData::Base
|
||||||
label
|
label
|
||||||
else
|
else
|
||||||
perfdata_label = perfdata_label.to_sym
|
label = label.to_sym
|
||||||
self.class.perfdatas[perfdata_label] || PerformanceData::Base.new( perfdata_label)
|
self.class.perfdatas[label] || PerformanceData::Base.new( label)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue