tape: fix typos

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2021-01-25 16:30:55 +01:00 committed by Dietmar Maurer
parent 66d066964c
commit bbf01b644c
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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()?;