From 171a00ca9770c02e569a1cfe6671a092cfa11fa7 Mon Sep 17 00:00:00 2001 From: Stefan Sterz Date: Thu, 10 Mar 2022 15:10:32 +0100 Subject: [PATCH] tape, docs, api: fix miscellaneous typos Signed-off-by: Stefan Sterz Signed-off-by: Thomas Lamprecht --- docs/conf.py | 2 +- docs/epilog.rst | 2 +- docs/terminology.rst | 2 +- pbs-tape/src/bin/pmt.rs | 2 +- src/api2/admin/datastore.rs | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 2570822a..dcc44988 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -77,7 +77,7 @@ project = 'Proxmox Backup' copyright = '2019-2021, Proxmox Server Solutions GmbH' author = 'Proxmox Support Team' -# The version info for the project you're documenting, acts as replacement for +# The version info for the project you're documenting, acts as a replacement for # |version| and |release|, also used in various other places throughout the # built documents. # diff --git a/docs/epilog.rst b/docs/epilog.rst index 54e21a03..ed6a8800 100644 --- a/docs/epilog.rst +++ b/docs/epilog.rst @@ -35,7 +35,7 @@ .. _ZFS: https://en.wikipedia.org/wiki/ZFS .. _Proxmox VE: https://pve.proxmox.com -.. _RFC3399: https://tools.ietf.org/html/rfc3339 +.. _RFC3339: https://tools.ietf.org/html/rfc3339 .. _UTC: https://en.wikipedia.org/wiki/Coordinated_Universal_Time .. _ISO Week date: https://en.wikipedia.org/wiki/ISO_week_date diff --git a/docs/terminology.rst b/docs/terminology.rst index dcce117b..c5551818 100644 --- a/docs/terminology.rst +++ b/docs/terminology.rst @@ -116,7 +116,7 @@ uniquely identifies a specific backup within a datastore. vm/104/2019-10-09T08:01:06Z host/elsa/2019-11-08T09:48:14Z -As you can see, the time format is RFC3399_ with Coordinated +As you can see, the time format is RFC3339_ with Coordinated Universal Time (UTC_, identified by the trailing *Z*). diff --git a/pbs-tape/src/bin/pmt.rs b/pbs-tape/src/bin/pmt.rs index 8f61c322..500c63fa 100644 --- a/pbs-tape/src/bin/pmt.rs +++ b/pbs-tape/src/bin/pmt.rs @@ -1,7 +1,7 @@ /// Control magnetic tape drive operation /// /// This is a Rust implementation, using the Proxmox userspace tape -/// driver. This is meant as replacement fot the 'mt' command line +/// driver. This is meant as a replacement for the 'mt' command line /// tool. /// /// Features: diff --git a/src/api2/admin/datastore.rs b/src/api2/admin/datastore.rs index 263ea96f..ef82b426 100644 --- a/src/api2/admin/datastore.rs +++ b/src/api2/admin/datastore.rs @@ -273,7 +273,7 @@ pub fn delete_group( check_priv_or_backup_owner(&datastore, &group, &auth_id, PRIV_DATASTORE_MODIFY)?; if !datastore.remove_backup_group(&group)? { - bail!("did not delete whole group because of protected snapthots"); + bail!("group only partially deleted due to protected snapshots"); } Ok(Value::Null)