Loading cloudcontrol/server/allocator.py +1 −1 Changes for cloudcontrol/server/allocator.py: 1 added line, 1 removed line. 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 Changes for cloudcontrol/server/allocator.py: 1 added line, 1 removed line. 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