Fix type cast

pull/13/head
Inex Code 2022-08-18 01:43:02 +04:00
parent 19168dfdaf
commit a67a0b3de2
1 changed files with 1 additions and 1 deletions

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,