tape: fix typos
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
66d066964c
commit
bbf01b644c
@ -101,7 +101,7 @@ pub fn get_config(
|
|||||||
properties: {},
|
properties: {},
|
||||||
},
|
},
|
||||||
returns: {
|
returns: {
|
||||||
description: "The list of configured remotes (with config digest).",
|
description: "The list of configured drives (with config digest).",
|
||||||
type: Array,
|
type: Array,
|
||||||
items: {
|
items: {
|
||||||
type: DriveListEntry,
|
type: DriveListEntry,
|
||||||
|
@ -164,7 +164,7 @@ pub trait MediaChange {
|
|||||||
fn load_media(&mut self, label_text: &str) -> Result<(), Error> {
|
fn load_media(&mut self, label_text: &str) -> Result<(), Error> {
|
||||||
|
|
||||||
if label_text.starts_with("CLN") {
|
if label_text.starts_with("CLN") {
|
||||||
bail!("unable to load media '{}' (seems top be a a cleaning units)", label_text);
|
bail!("unable to load media '{}' (seems to be a cleaning unit)", label_text);
|
||||||
}
|
}
|
||||||
|
|
||||||
let mut status = self.status()?;
|
let mut status = self.status()?;
|
||||||
|
Loading…
Reference in New Issue
Block a user