Skip to content

Commit 84371d8

Browse files
committed
Rename l -> entry
1 parent 7098347 commit 84371d8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/stackable-operator/src/utils/cluster_domain.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,9 @@ fn retrieve_cluster_domain_from_resolv_conf(
125125
let last_search_entry = content
126126
.lines()
127127
.rev()
128-
.map(|l| l.trim())
129-
.find(|&l| l.starts_with("search"))
130-
.map(|l| l.trim_start_matches("search").trim())
128+
.map(|entry| entry.trim())
129+
.find(|&entry| entry.starts_with("search"))
130+
.map(|entry| entry.trim_start_matches("search").trim())
131131
.context(NoSearchEntrySnafu)?;
132132

133133
// We only care about entries starting with "svc." to limit the entries to the ones used by

0 commit comments

Comments
 (0)