Skip to content

Commit

Permalink
Merge pull request #1229 from dsheets/fix-discovery-server-startup-log
Browse files Browse the repository at this point in the history
discovery::server: fix startup log
  • Loading branch information
roderickvd authored Dec 6, 2023
2 parents ec1cf2b + 098c056 commit 886617e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions discovery/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -269,10 +269,10 @@ impl DiscoveryServer {
tokio::spawn(async {
let result = server
.with_graceful_shutdown(async {
debug!("Shutting down discovery server");
if close_rx.await.is_ok() {
debug!("unable to close discovery Rx channel completely");
if let Err(e) = close_rx.await {
debug!("unable to close discovery Rx channel completely: {e}");
}
debug!("Shutting down discovery server");
})
.await;

Expand Down

0 comments on commit 886617e

Please sign in to comment.