From: Faiyaz Ahmed Date: Thu, 21 Aug 2008 02:44:20 +0000 (+0000) Subject: Fixed key error in logging. X-Git-Tag: NodeManager-1.8-0~6 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=9ce0d803975411f43ded4f8844c6eed314d670e1;p=nodemanager.git Fixed key error in logging. --- diff --git a/bwmon.py b/bwmon.py index 8f04808..10cdd95 100644 --- a/bwmon.py +++ b/bwmon.py @@ -333,7 +333,7 @@ class Slice: params['new_maxrate'] = bwlimit.format_tc_rate(new_maxexemptrate) message += template % params - logger.log("bwmon: ** %(slice)s %(class)s capped at %(new_maxexemptrate)s/s " % params) + logger.log("bwmon: ** %(slice)s %(class)s capped at %(new_maxrate)s/s " % params) # Notify slice if message and self.emailed == False: