mirror of
https://codeberg.org/icewind/prometheus-mdns-rs.git
synced 2026-06-03 18:04:11 +02:00
upgrades
This commit is contained in:
parent
85639af9ba
commit
c0e8c2bc19
4 changed files with 172 additions and 50 deletions
|
|
@ -85,7 +85,7 @@ async fn main() -> Result<(), main_error::MainError> {
|
|||
|
||||
if start_count != added_count || added_count != removed_count {
|
||||
let output_services: Vec<PrometheusService> =
|
||||
services.iter().map(|(_, service)| service.into()).collect();
|
||||
services.values().map(|service| service.into()).collect();
|
||||
let output = serde_json::to_string(&output_services).unwrap();
|
||||
|
||||
match &out {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue