Fix clippy warning in update.rs
This commit is contained in:
parent
bff86a490b
commit
1866e289a6
|
@ -2584,7 +2584,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|||
checksum = "f77e66f6d6d898cbbd4a09c48fd3507cfc210b7c83055de02a38b5f7a1e6d216"
|
||||
dependencies = [
|
||||
"libc",
|
||||
"time 0.3.7",
|
||||
"time 0.1.44",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
|
|
@ -48,7 +48,8 @@ pub fn update_microservices() -> Result<(), PeachConfigError> {
|
|||
// filter out peach-config from list of services
|
||||
let services_to_update: Vec<&str> = SERVICES
|
||||
.to_vec()
|
||||
.into_iter()
|
||||
.iter()
|
||||
.copied()
|
||||
.filter(|&x| x != "peach-config")
|
||||
.collect();
|
||||
|
||||
|
|
Loading…
Reference in New Issue