Loading cloudcontrol/server/allocator.py +1 −1 Original line number Diff line number Diff line Loading @@ -155,7 +155,7 @@ class HaveEnoughCPU(Filter): def sorter(self, candidate): try: return float(candidate.get('cpuallocratio')) return -float(candidate.get('cpuallocratio')) except ValueError: return float('inf') Loading Loading
cloudcontrol/server/allocator.py +1 −1 Original line number Diff line number Diff line Loading @@ -155,7 +155,7 @@ class HaveEnoughCPU(Filter): def sorter(self, candidate): try: return float(candidate.get('cpuallocratio')) return -float(candidate.get('cpuallocratio')) except ValueError: return float('inf') Loading