summaryrefslogtreecommitdiffstats
path: root/src/endpoint
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2021-01-13 09:35:37 +0100
committerMatthias Beyer <mail@beyermatthias.de>2021-01-15 23:21:39 +0100
commit882a817dab7cd7ea2f8771f5ee9a5e99a1972a7c (patch)
tree416ea7a0c475cc5829a00e69697328eb729d66de /src/endpoint
parent7e423850fc428d1ed35e026daf83d79fb8a5eabe (diff)
Fix clippy: writing `&Vec<_>` instead of `&[_]` involves one more reference and cannot be used with non-Vec-based slices
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'src/endpoint')
-rw-r--r--src/endpoint/configured.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/endpoint/configured.rs b/src/endpoint/configured.rs
index d5a3b29..c2ed0cf 100644
--- a/src/endpoint/configured.rs
+++ b/src/endpoint/configured.rs
@@ -151,7 +151,7 @@ impl Endpoint {
}
}
- async fn check_images_available(imgs: &Vec<ImageName>, ep: &Endpoint) -> Result<()> {
+ async fn check_images_available(imgs: &[ImageName], ep: &Endpoint) -> Result<()> {
use shiplift::ImageListOptions;
trace!("Checking availability of images: {:?}", imgs);