Skip to content

Commit 03ceec1

Browse files
committed
EarlyNetworkSetupError: stop duplicate log output on DnsResolver variant
Similar to the last commit, this updates the #[error(...)] attribute on the DnsResolver variant on EarlyNetworkSetupError, to avoid recursing into the Display implementation of ResolveError. All callers appear to be handling EarlyNetworkSetupError correctly already, so this commit doesn't make any other changes.
1 parent 9c3e310 commit 03ceec1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sled-agent/src/bootstrap/early_networking.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ pub enum EarlyNetworkSetupError {
7171
#[error("Error during request to Dendrite: {0}")]
7272
Dendrite(String),
7373

74-
#[error("Error during DNS lookup: {0}")]
74+
#[error("Error during DNS lookup")]
7575
DnsResolver(#[from] ResolveError),
7676

7777
#[error("BGP configuration error: {0}")]

0 commit comments

Comments
 (0)