Skip to content

Commit

Permalink
feat: optimize log of th available schedulers (dragonflyoss#423)
Browse files Browse the repository at this point in the history
Signed-off-by: Gaius <[email protected]>
  • Loading branch information
gaius-qi authored Apr 26, 2024
1 parent da16826 commit bf0b6ce
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dragonfly-client/src/grpc/scheduler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,9 @@ impl SchedulerClient {
info!(
"available schedulers is not changed: {:?}",
data.available_schedulers
.iter()
.map(|s| s.ip.clone())
.collect::<Vec<String>>()
);
return Ok(());
}
Expand Down Expand Up @@ -396,6 +399,9 @@ impl SchedulerClient {
info!(
"refresh available scheduler addresses: {:?}",
available_scheduler_addrs
.iter()
.map(|s| s.ip().to_string())
.collect::<Vec<String>>()
);
Ok(())
}
Expand Down

0 comments on commit bf0b6ce

Please sign in to comment.