mirror of
				https://github.com/kata-containers/kata-containers.git
				synced 2025-11-04 03:29:55 +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:
		@@ -1392,7 +1392,7 @@ Caused by:
 | 
			
		||||
        assert_eq!(config.server_addr, "vsock://8:2048");
 | 
			
		||||
        assert_eq!(
 | 
			
		||||
            config.endpoints.allowed,
 | 
			
		||||
            vec!["CreateContainer".to_string(), "StartContainer".to_string()]
 | 
			
		||||
            ["CreateContainer".to_string(), "StartContainer".to_string()]
 | 
			
		||||
                .iter()
 | 
			
		||||
                .cloned()
 | 
			
		||||
                .collect()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user