Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

updated invocation count

  • Loading branch information...
commit bef3a2f0d3a7cbbf223e04aa06785580f34f0f66 1 parent b7ebed8
@AndreCharbonneau AndreCharbonneau authored
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):
Please sign in to comment.
Something went wrong with that request. Please try again.