From 07b4694a33cbed2e214dae1359499c0b15e16f62 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Fri, 4 Jan 2019 10:49:52 +0100 Subject: [PATCH] cleanup crate names --- src/bin/proxmox-backup-manager.rs | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/bin/proxmox-backup-manager.rs b/src/bin/proxmox-backup-manager.rs index 2982a25e..2b54b6e8 100644 --- a/src/bin/proxmox-backup-manager.rs +++ b/src/bin/proxmox-backup-manager.rs @@ -5,18 +5,19 @@ use proxmox_backup::cli::command::*; fn datastore_commands() -> CommandLineInterface { - use proxmox_backup::api3::config::datastore; + use proxmox_backup::config; + use proxmox_backup::api3; let cmd_def = CliCommandMap::new() - .insert("list", CliCommand::new(datastore::get()).into()) + .insert("list", CliCommand::new(api3::config::datastore::get()).into()) .insert("create", - CliCommand::new(datastore::post()) + CliCommand::new(api3::config::datastore::post()) .arg_param(vec!["name", "path"]) .into()) .insert("remove", - CliCommand::new(datastore::delete()) + CliCommand::new(api3::config::datastore::delete()) .arg_param(vec!["name"]) - .completion_cb("name", proxmox_backup::config::datastore::complete_datastore_name) + .completion_cb("name", config::datastore::complete_datastore_name) .into()); cmd_def.into()