Fix generic service mover being unable to move to sda1

This commit is contained in:
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,