From ca441724048df6fbaf0421c3b9db291b3ed78e49 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Fri, 10 Jan 2020 19:25:26 +0100 Subject: [PATCH] src/api2/config/remotes.rs: cleanup - avoid compiler warnings --- src/api2/config/remotes.rs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/api2/config/remotes.rs b/src/api2/config/remotes.rs index 6fb3725b..45493304 100644 --- a/src/api2/config/remotes.rs +++ b/src/api2/config/remotes.rs @@ -1,15 +1,9 @@ -use std::path::PathBuf; - use failure::*; use serde_json::Value; -use proxmox::api::{api, ApiHandler, ApiMethod, Router, RpcEnvironment}; -use proxmox::api::schema::*; +use proxmox::api::{api, ApiMethod, Router, RpcEnvironment}; -use crate::api2::types::*; -use crate::backup::*; use crate::config::remotes; -use crate::tools; #[api( input: {