diff --git a/src/python/flux_k8s/directivebreakdown.py b/src/python/flux_k8s/directivebreakdown.py index 1df2991..207284d 100644 --- a/src/python/flux_k8s/directivebreakdown.py +++ b/src/python/flux_k8s/directivebreakdown.py @@ -46,7 +46,7 @@ def validate(self, nodecount): requested = getattr(self, attr) allowable = getattr(type(self), attr) if attr == "lustre": - requested = requested / nodecount + requested = requested // nodecount if allowable is not None and requested > allowable: raise ValueError( f"Requested a total of {requested} GiB of {attr} storage "