diff --git a/lapis/drone.py b/lapis/drone.py index 48142c6..914eaca 100644 --- a/lapis/drone.py +++ b/lapis/drone.py @@ -90,7 +90,7 @@ def _init_allocation_and_utilisation(self): resources = [] for resource_key in self._valid_resource_keys: resources.append( - getattr(levels, resource_key) / self.pool_resources[resource_key] + 1 - getattr(levels, resource_key) / self.pool_resources[resource_key] ) self._allocation = max(resources) self._utilisation = min(resources)