Skip to content

Commit

Permalink
Add extra warning when failing to resolve all seeds
Browse files Browse the repository at this point in the history
  • Loading branch information
rdettai committed Mar 7, 2024
1 parent d54479a commit 51ab03a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions quickwit/quickwit-config/src/node_config/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,9 @@ impl NodeConfig {
}
peer_seed_addrs.push(peer_seed_addr.to_string())
}
if !self.peer_seeds.is_empty() && peer_seed_addrs.is_empty() {
warn!("failed to resolve all the peer seed addresses")
}
Ok(peer_seed_addrs)
}

Expand Down

0 comments on commit 51ab03a

Please sign in to comment.