mirror of
https://codeberg.org/icewind/prometheus-edge-trigger.git
synced 2026-06-03 10:14:12 +02:00
clippy fixes
This commit is contained in:
parent
4335ce2daf
commit
1a989a3edc
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ impl Parameter {
|
|||
.labels
|
||||
.get(key)
|
||||
.filter(|val| *val == value)
|
||||
.and_then(|_| service.targets.get(0))
|
||||
.and_then(|_| service.targets.first())
|
||||
.cloned()
|
||||
})
|
||||
.ok_or(ParameterError::ServiceNotFound)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue