mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-30 04:34:27 +00:00
agent: config: Fix useles-vec warning
Fix clippy::useless-vec warning Fixes: #7902 Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
parent
9e423bd3d6
commit
f3a0fd5907
@ -1392,7 +1392,7 @@ Caused by:
|
|||||||
assert_eq!(config.server_addr, "vsock://8:2048");
|
assert_eq!(config.server_addr, "vsock://8:2048");
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
config.endpoints.allowed,
|
config.endpoints.allowed,
|
||||||
vec!["CreateContainer".to_string(), "StartContainer".to_string()]
|
["CreateContainer".to_string(), "StartContainer".to_string()]
|
||||||
.iter()
|
.iter()
|
||||||
.cloned()
|
.cloned()
|
||||||
.collect()
|
.collect()
|
||||||
|
Loading…
Reference in New Issue
Block a user