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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user