Merge pull request #22 from artschwagerb/master

fix variable error
This commit is contained in:
Drew Kerrigan 2016-02-23 22:10:47 +01:00
commit 4180ec2066

View File

@ -56,7 +56,7 @@ class NagiosHelper:
def append_critical(self, critical_message): def append_critical(self, critical_message):
self.critical_message += critical_message self.critical_message += critical_message
def append_unknown(self, unknown_message): def append_unknown(self, unknown_message):
self.critical_message += critical_message self.critical_message += unknown_message
def append_metrics(self, (performance_data, warning_message, critical_message)): def append_metrics(self, (performance_data, warning_message, critical_message)):
self.performance_data += performance_data self.performance_data += performance_data
self.append_warning(warning_message) self.append_warning(warning_message)