We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
std::path::PathBuf
1 parent 891afd2 commit 03d13b6Copy full SHA for 03d13b6
src/vmm/src/vmm_config/mod.rs
@@ -6,7 +6,7 @@ use std::convert::{From, TryInto};
6
use std::fs::{File, OpenOptions};
7
use std::io::{self, LineWriter};
8
use std::os::unix::fs::OpenOptionsExt;
9
-use std::path::Path;
+use std::path::{Path, PathBuf};
10
use std::str::FromStr;
11
use std::sync::Mutex;
12
@@ -267,7 +267,7 @@ impl FromStr for Level {
267
#[serde(deny_unknown_fields)]
268
pub struct LoggerConfig {
269
/// Named pipe or file used as output for logs.
270
- pub log_path: std::path::PathBuf,
+ pub log_path: PathBuf,
271
/// The level of the Logger.
272
pub level: Option<Level>,
273
/// When enabled, the logger will append to the output the severity of the log entry.
0 commit comments