tape: restore - do not check if pool is configured
This commit is contained in:
parent
d984a9acf0
commit
16f9ea6708
@ -32,7 +32,6 @@ use crate::{
|
|||||||
DRIVE_NAME_SCHEMA,
|
DRIVE_NAME_SCHEMA,
|
||||||
UPID_SCHEMA,
|
UPID_SCHEMA,
|
||||||
Authid,
|
Authid,
|
||||||
MediaPoolConfig,
|
|
||||||
},
|
},
|
||||||
config,
|
config,
|
||||||
backup::{
|
backup::{
|
||||||
@ -116,10 +115,6 @@ pub fn restore(
|
|||||||
|
|
||||||
let pool = inventory.lookup_media_set_pool(&media_set_uuid)?;
|
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()?;
|
let (drive_config, _digest) = config::drive::config()?;
|
||||||
|
|
||||||
// early check/lock before starting worker
|
// early check/lock before starting worker
|
||||||
|
Loading…
Reference in New Issue
Block a user