wip: nats multi cluster, fixing helm command to follow multiple k8s config by providing the helm command from the topology itself, fix cli_logger that can now be initialized multiple times, some more stuff

This commit is contained in:
2026-01-08 16:03:15 -05:00
parent f7404bed36
commit 77583a1ad1
9 changed files with 287 additions and 31 deletions

View File

@@ -7,11 +7,14 @@ use harmony::{
};
use log::{error, info, log_enabled};
use std::io::Write;
use std::sync::Mutex;
use std::sync::{Mutex, OnceLock};
pub fn init() {
configure_logger();
handle_events();
static INITIALIZED: OnceLock<()> = OnceLock::new();
INITIALIZED.get_or_init(|| {
configure_logger();
handle_events();
});
}
fn configure_logger() {