mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-30 04:34:27 +00:00
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 <Manabu.Sugimoto@sony.com>
This commit is contained in:
parent
03877f3479
commit
b40eedc9f7
@ -151,7 +151,7 @@ lazy_static! {
|
|||||||
},
|
},
|
||||||
LinuxDevice {
|
LinuxDevice {
|
||||||
path: "/dev/full".to_string(),
|
path: "/dev/full".to_string(),
|
||||||
r#type: String::from("c"),
|
r#type: "c".to_string(),
|
||||||
major: 1,
|
major: 1,
|
||||||
minor: 7,
|
minor: 7,
|
||||||
file_mode: Some(0o666),
|
file_mode: Some(0o666),
|
||||||
|
Loading…
Reference in New Issue
Block a user