Fix type cast
parent
19168dfdaf
commit
a67a0b3de2
|
@ -53,7 +53,7 @@ def move_service(
|
||||||
)
|
)
|
||||||
return
|
return
|
||||||
# Check if there is enough space on the new volume
|
# 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(
|
Jobs.get_instance().update(
|
||||||
job=job,
|
job=job,
|
||||||
status=JobStatus.ERROR,
|
status=JobStatus.ERROR,
|
||||||
|
|
Loading…
Reference in New Issue