tape: MediaPool::with_config() - remove name parameter

Not required, because config already contains the pool name.
This commit is contained in:
Dietmar Maurer
2020-12-18 08:14:24 +01:00
parent 26aa9aca40
commit 2afdc7f27d
2 changed files with 2 additions and 3 deletions

View File

@ -73,7 +73,7 @@ pub async fn list_media(pool: Option<String>) -> Result<Vec<MediaListEntry>, Err
let config: MediaPoolConfig = config.lookup("pool", pool_name)?;
let pool = MediaPool::with_config(pool_name, status_path, &config)?;
let pool = MediaPool::with_config(status_path, &config)?;
let current_time = proxmox::tools::time::epoch_i64();