remove unnecessary to_owned
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/push Build was killed
Details
This commit is contained in:
parent
abde4ce1b4
commit
4662b15ba3
|
@ -47,8 +47,8 @@ pub fn update_microservices() -> Result<(), PeachConfigError> {
|
|||
cmd(&["apt-get", "update"])?;
|
||||
// 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