mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-09-13 02:54:26 +08:00
fix: 修复 MSD ISO/FLASH 挂载识别错误;完善错误提示
This commit is contained in:
@@ -204,6 +204,8 @@ pub enum SystemEvent {
|
||||
total_bytes: Option<u64>,
|
||||
progress_pct: Option<f32>,
|
||||
status: String,
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
error_code: Option<String>,
|
||||
},
|
||||
|
||||
#[serde(rename = "system.device_info")]
|
||||
@@ -372,6 +374,7 @@ mod tests {
|
||||
total_bytes: None,
|
||||
progress_pct: None,
|
||||
status: String::new(),
|
||||
error_code: None,
|
||||
},
|
||||
SystemEvent::DeviceInfo {
|
||||
video: VideoDeviceInfo {
|
||||
|
||||
Reference in New Issue
Block a user