mirror of
https://github.com/moghtech/komodo.git
synced 2026-10-29 00:00:40 +00:00
add sync deployment state log
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
use std::{collections::HashMap, time::Duration};
|
||||
|
||||
use anyhow::Context;
|
||||
use formatting::{bold, colored, muted, Color};
|
||||
use futures::future::join_all;
|
||||
use monitor_client::{
|
||||
api::execute::Deploy,
|
||||
@@ -19,7 +20,6 @@ use monitor_client::{
|
||||
use mungos::find::find_collect;
|
||||
use partial_derive2::{Diff, FieldDiff, MaybeNone, PartialDiff};
|
||||
use resolver_api::Resolve;
|
||||
use formatting::{bold, colored, muted, Color};
|
||||
|
||||
use crate::{
|
||||
api::execute::ExecuteRequest,
|
||||
@@ -635,6 +635,8 @@ pub async fn run_updates(
|
||||
(round > 1).then_some("s").unwrap_or_default()
|
||||
));
|
||||
|
||||
logs.push(Log::simple("Sync Deployment State", log));
|
||||
|
||||
Some(logs)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user