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