Browse files

updated invocation count

  • Loading branch information...
1 parent b7ebed8 commit bef3a2f0d3a7cbbf223e04aa06785580f34f0f66 @AndreCharbonneau AndreCharbonneau committed Jun 2, 2013
Showing with 1 addition and 10 deletions.
  1. +1 −10 wsgi/services/batch.py
View
11 wsgi/services/batch.py
@@ -17,16 +17,7 @@ def __init__(self, d):
def getInvocations(self):
- values = collections.OrderedDict()
- values['Number of Cloud Scheduler boots'] = self.r.get('nep52-cs-boot')
- values['Cloud Scheduler hours'] = self.r.get('nep52-cs-clock')
-
- values['Number of CVMFS appliance boots'] = self.r.get('nep52-cvmfs-boot')
- values['CVMFS appliance hours'] = self.r.get('nep52-cvmfs-clock')
-
- values['Number of batch client boots'] = self.r.get('nep52-client-boot')
- values['Batch client hours'] = self.r.get('nep52-client-clock')
- return values
+ return int(self.r.get('nep52-cs-boot')) + int(self.r.get('nep52-cs-clock')) + int(self.r.get('nep52-cvmfs-boot')) + int(self.r.get('nep52-cvmfs-clock')) + int(self.r.get('nep52-client-boot')) + int(self.r.get('nep52-client-clock'))
def getLastReset(self):

0 comments on commit bef3a2f

Please sign in to comment.