Fix type cast

This commit is contained in:
inexcode 2022-08-18 01:43:02 +04:00
parent 19168dfdaf
commit a67a0b3de2

View file

@ -53,7 +53,7 @@ def move_service(
)
return
# Check if there is enough space on the new volume
if volume.fsavail < service.get_storage_usage():
if int(volume.fsavail) < service.get_storage_usage():
Jobs.get_instance().update(
job=job,
status=JobStatus.ERROR,