Track install state by installation id
This commit is contained in:
@@ -91,6 +91,7 @@ def run_update(
|
||||
apply: bool = False,
|
||||
download_asset: DownloadAsset = _download_asset,
|
||||
apply_plan_func: ApplyPlan = apply_plan,
|
||||
install_id: str | None = None,
|
||||
) -> dict[str, Any]:
|
||||
if not selected:
|
||||
raise ValueError("update requires at least one --plugin")
|
||||
@@ -224,6 +225,7 @@ def run_update(
|
||||
state_root=state_root,
|
||||
repo_root=repo_root,
|
||||
selected=set(replacements),
|
||||
install_id=install_id,
|
||||
)
|
||||
result["planPath"] = str(plan_path)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user