We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7098347 commit 84371d8Copy full SHA for 84371d8
crates/stackable-operator/src/utils/cluster_domain.rs
@@ -125,9 +125,9 @@ fn retrieve_cluster_domain_from_resolv_conf(
125
let last_search_entry = content
126
.lines()
127
.rev()
128
- .map(|l| l.trim())
129
- .find(|&l| l.starts_with("search"))
130
- .map(|l| l.trim_start_matches("search").trim())
+ .map(|entry| entry.trim())
+ .find(|&entry| entry.starts_with("search"))
+ .map(|entry| entry.trim_start_matches("search").trim())
131
.context(NoSearchEntrySnafu)?;
132
133
// We only care about entries starting with "svc." to limit the entries to the ones used by
0 commit comments