From b40eedc9f705beff988eab34fb4cbd88d4762f33 Mon Sep 17 00:00:00 2001 From: Manabu Sugimoto Date: Mon, 25 Oct 2021 09:15:59 +0900 Subject: [PATCH] rustjail: Consistent coding style of LinuxDevice type Use `"c".to_string` in the device type of `dev/full` in order to consistent with the coding style of other devices Fixes: #2890 Signed-off-by: Manabu Sugimoto --- src/agent/rustjail/src/container.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/agent/rustjail/src/container.rs b/src/agent/rustjail/src/container.rs index f422599f2c..ac34b4976c 100644 --- a/src/agent/rustjail/src/container.rs +++ b/src/agent/rustjail/src/container.rs @@ -151,7 +151,7 @@ lazy_static! { }, LinuxDevice { path: "/dev/full".to_string(), - r#type: String::from("c"), + r#type: "c".to_string(), major: 1, minor: 7, file_mode: Some(0o666),