git://git.onelab.eu
/
nodemanager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e7916a5
)
Fixed KeyError in logging
author
Faiyaz Ahmed
<faiyaza@cs.princeton.edu>
Thu, 21 Aug 2008 02:44:54 +0000
(
02:44
+0000)
committer
Faiyaz Ahmed
<faiyaza@cs.princeton.edu>
Thu, 21 Aug 2008 02:44:54 +0000
(
02:44
+0000)
bwmon.py
patch
|
blob
|
history
diff --git
a/bwmon.py
b/bwmon.py
index
8f04808
..
10cdd95
100644
(file)
--- 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_max
exempt
rate)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: