Fix generic service mover being unable to move to sda1

remotes/1697617238042506578/master
Inex Code 2022-09-19 02:32:14 +03:00
parent a3260aadc3
commit 49571b6ef2
2 changed files with 2 additions and 2 deletions

View File

@ -27,4 +27,4 @@ async def get_token_header(
def get_api_version() -> str:
"""Get API version"""
return "2.0.2"
return "2.0.3"

View File

@ -61,7 +61,7 @@ def move_service(
)
return
# Make sure the volume is mounted
if f"/volumes/{volume.name}" not in volume.mountpoints:
if volume.name != "sda1" and f"/volumes/{volume.name}" not in volume.mountpoints:
Jobs.get_instance().update(
job=job,
status=JobStatus.ERROR,