Loading cloudcontrol/server/allocator.py +3 Changes for cloudcontrol/server/allocator.py: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -81,7 +81,10 @@ class IsAllocatable(Filter): """ def tql_filter(self, query): if 'ignore_alloc' not in self.vmspec.get('flags', []): return '(%s)&alloc=yes' % query else: return query class IsConnected(Filter): Loading Loading
cloudcontrol/server/allocator.py +3 Changes for cloudcontrol/server/allocator.py: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -81,7 +81,10 @@ class IsAllocatable(Filter): """ def tql_filter(self, query): if 'ignore_alloc' not in self.vmspec.get('flags', []): return '(%s)&alloc=yes' % query else: return query class IsConnected(Filter): Loading