Skip to content

Commit

Permalink
Minor-est improvements.
Browse files Browse the repository at this point in the history
  • Loading branch information
partim committed Jun 20, 2024
1 parent 6a0a36f commit a3379b2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/commands/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -253,9 +253,8 @@ impl Query {
let ns_set = self.get_ns_set(&apex, &resolver).await?;
self.get_ns_addrs(&ns_set, &resolver).await?
};
let qtype = self.qtype();
Client::with_servers(servers)
.query((self.qname.to_name(), qtype))
.query((self.qname.to_name(), self.qtype()))
.await
}

Expand Down

0 comments on commit a3379b2

Please sign in to comment.