mirror of
git://git.proxmox.com/git/proxmox-backup.git
synced 2025-01-03 01:18:02 +03:00
remove redundant imports
Fixes the single_component_path_imports clippy lint: ``` warning: this import is redundant --> proxmox-file-restore/src/block_driver_qemu.rs:15:1 | 15 | use proxmox_systemd; | ^^^^^^^^^^^^^^^^^^^^ help: remove it entirely | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports = note: `#[warn(clippy::single_component_path_imports)]` on by default warning: this import is redundant --> proxmox-backup-client/src/mount.rs:19:1 | 19 | use proxmox_systemd; | ^^^^^^^^^^^^^^^^^^^^ help: remove it entirely | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports = note: `#[warn(clippy::single_component_path_imports)]` on by default ``` Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
This commit is contained in:
parent
80264dbfaa
commit
414a5b3a3a
@ -16,7 +16,6 @@ use tokio::signal::unix::{signal, SignalKind};
|
||||
use proxmox_router::{cli::*, ApiHandler, ApiMethod, RpcEnvironment};
|
||||
use proxmox_schema::*;
|
||||
use proxmox_sortable_macro::sortable;
|
||||
use proxmox_systemd;
|
||||
|
||||
use pbs_api_types::{ArchiveType, BackupArchiveName, BackupNamespace};
|
||||
use pbs_client::tools::key_source::get_encryption_key_password;
|
||||
|
@ -12,7 +12,6 @@ use serde::{Deserialize, Serialize};
|
||||
use serde_json::json;
|
||||
|
||||
use proxmox_sys::fs::lock_file;
|
||||
use proxmox_systemd;
|
||||
|
||||
use pbs_api_types::{file_restore::FileRestoreFormat, BackupDir, BackupNamespace};
|
||||
use pbs_client::{BackupRepository, VsockClient, DEFAULT_VSOCK_PORT};
|
||||
|
Loading…
Reference in New Issue
Block a user