tape: mtx_status - consider new export-slots property
This commit is contained in:
1 parent
38ae42b11a
commit
d5035c5600
4 files changed
+37
-8
No files matched your search
@@ -52,7 +52,7 @@ pub async fn get_status(name: String) -> Result<Vec<MtxStatusEntry>, Error> {
|
||||
let data: ScsiTapeChanger = config.lookup("changer", &name)?;
|
||||
|
||||
let status = tokio::task::spawn_blocking(move || {
|
||||
mtx_status(&data.path)
|
||||
mtx_status(&data)
|
||||
}).await??;
|
||||
|
||||
let state_path = Path::new(TAPE_STATUS_DIR);
|
||||
|
||||
Reference in new issue
Block a user