Loading cloudcontrol/server/allocator.py +4 −1 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 +4 −1 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