Skip to content

Commit

Permalink
chore(dns): Fix test compilation failure in 4daa1f4
Browse files Browse the repository at this point in the history
  • Loading branch information
olix0r committed Apr 9, 2024
1 parent 4daa1f4 commit d28abac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion linkerd/dns/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,8 @@ impl ResolveError {
#[cfg(test)]
mod tests {
use super::{Name, Resolver, Suffix};
use hickory_dns_resolver::proto::rr::{domain, rdata};

Check failure on line 193 in linkerd/dns/src/lib.rs

View workflow job for this annotation

GitHub Actions / rust

error[E0433]: failed to resolve: use of undeclared crate or module `hickory_dns_resolver` --> linkerd/dns/src/lib.rs:193:9 | 193 | use hickory_dns_resolver::proto::rr::{domain, rdata}; | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `hickory_dns_resolver` | help: there is a crate or module with a similar name | 193 | use hickory_resolver::proto::rr::{domain, rdata}; | ~~~~~~~~~~~~~~~~
use std::{net, str::FromStr};
use trust_dns_resolver::proto::rr::{domain, rdata};

#[test]
fn test_dns_name_parsing() {
Expand Down
2 changes: 1 addition & 1 deletion linkerd/tracing/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const ENV_LOG_LEVEL: &str = "LINKERD2_PROXY_LOG";
const ENV_LOG_FORMAT: &str = "LINKERD2_PROXY_LOG_FORMAT";
const ENV_ACCESS_LOG: &str = "LINKERD2_PROXY_ACCESS_LOG";

const DEFAULT_LOG_LEVEL: &str = "warn,linkerd=info,trust_dns=error";
const DEFAULT_LOG_LEVEL: &str = "warn,linkerd=info,hickory_dns=error";
const DEFAULT_LOG_FORMAT: &str = "PLAIN";

#[derive(Debug, Default)]
Expand Down

0 comments on commit d28abac

Please sign in to comment.