mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-26 05:51:29 +00:00
Fix generic service mover being unable to move to sda1
This commit is contained in:
parent
a3260aadc3
commit
49571b6ef2
|
@ -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"
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue