tape: restore - do not check if pool is configured

This commit is contained in:
Dietmar Maurer 2021-03-01 09:41:58 +01:00
parent d984a9acf0
commit 16f9ea6708

View File

@ -32,7 +32,6 @@ use crate::{
DRIVE_NAME_SCHEMA,
UPID_SCHEMA,
Authid,
MediaPoolConfig,
},
config,
backup::{
@ -116,10 +115,6 @@ pub fn restore(
let pool = inventory.lookup_media_set_pool(&media_set_uuid)?;
// check if pool exists
let (config, _digest) = config::media_pool::config()?;
let _pool_config: MediaPoolConfig = config.lookup("pool", &pool)?;
let (drive_config, _digest) = config::drive::config()?;
// early check/lock before starting worker