Fix hub AI save PM2 restart NameError in hub_env_lib.

Import restart_instances_then_hub_pm2 so background restart after AI env sync actually runs on the server.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-08 23:48:40 +08:00
parent b733e551a0
commit bb0f328f2f
+1 -1
View File
@@ -11,7 +11,7 @@ from lib.env.env_file_lib import apply_env_updates, load_env_file_into_environ
from lib.env.shared_env_lib import (
apply_ai_env_to_all,
build_ai_env_payload,
restart_hub_and_instances_pm2,
restart_instances_then_hub_pm2,
)
HUB_DIR = Path(__file__).resolve().parent