[pbs-devel] [PATCH proxmox-backup 2/4] tape: fix typos

Dominik Csapak d.csapak at proxmox.com
Mon Jan 25 16:30:55 CET 2021


Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 src/api2/config/drive.rs | 2 +-
 src/tape/changer/mod.rs  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/api2/config/drive.rs b/src/api2/config/drive.rs
index 54601795..7a05238b 100644
--- a/src/api2/config/drive.rs
+++ b/src/api2/config/drive.rs
@@ -101,7 +101,7 @@ pub fn get_config(
         properties: {},
     },
     returns: {
-        description: "The list of configured remotes (with config digest).",
+        description: "The list of configured drives (with config digest).",
         type: Array,
         items: {
             type: DriveListEntry,
diff --git a/src/tape/changer/mod.rs b/src/tape/changer/mod.rs
index cbcec650..f952f707 100644
--- a/src/tape/changer/mod.rs
+++ b/src/tape/changer/mod.rs
@@ -144,7 +144,7 @@ pub trait MediaChange {
     fn load_media(&mut self, label_text: &str) -> Result<(), Error> {
 
         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()?;
-- 
2.20.1






More information about the pbs-devel mailing list