mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-12-01 19:06:45 +00:00
Fix generic service mover being unable to move
This commit is contained in:
parent
49571b6ef2
commit
a7208c1a91
|
@ -27,4 +27,4 @@ async def get_token_header(
|
||||||
|
|
||||||
def get_api_version() -> str:
|
def get_api_version() -> str:
|
||||||
"""Get API version"""
|
"""Get API version"""
|
||||||
return "2.0.3"
|
return "2.0.4"
|
||||||
|
|
|
@ -185,7 +185,6 @@ def move_service(
|
||||||
status=JobStatus.RUNNING,
|
status=JobStatus.RUNNING,
|
||||||
error=f"Unable to set ownership of new volume. {service_name} may not be able to access its files. Continuing anyway.",
|
error=f"Unable to set ownership of new volume. {service_name} may not be able to access its files. Continuing anyway.",
|
||||||
)
|
)
|
||||||
return
|
|
||||||
|
|
||||||
# Mount new volume
|
# Mount new volume
|
||||||
Jobs.get_instance().update(
|
Jobs.get_instance().update(
|
||||||
|
|
Loading…
Reference in a new issue