public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Dylan Whyte <d.whyte@proxmox.com>
To: Proxmox Backup Server development discussion
	<pbs-devel@lists.proxmox.com>, Stefan Sterz <s.sterz@proxmox.com>
Subject: Re: [pbs-devel] [PATCH proxmox-backup] pbs-tape/docs/api: fix miscellaneous typos
Date: Thu, 10 Mar 2022 14:41:31 +0100	[thread overview]
Message-ID: <44bc53c3-8bbc-f39d-e33b-2ae916aeeff3@proxmox.com> (raw)
In-Reply-To: <20220309135343.2052890-1-s.sterz@proxmox.com>

Hi,

Thanks for the patch. Just some small suggestions, while you're at it ;)


Reviewed-by: Dylan Whyte <d.whyte@proxmox.com>

Best regards,

Dylan

On 3/9/22 14:53, Stefan Sterz wrote:
> Signed-off-by: Stefan Sterz <s.sterz@proxmox.com>
> ---
>   docs/epilog.rst             | 2 +-
>   docs/terminology.rst        | 2 +-
>   pbs-tape/src/bin/pmt.rs     | 2 +-
>   src/api2/admin/datastore.rs | 2 +-
>   4 files changed, 4 insertions(+), 4 deletions(-)
>
> 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..e7080bd8 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 replacement for the 'mt' command line
s/as replacement/as a replacement/
>   /// tool.
>   ///
>   /// Features:
> diff --git a/src/api2/admin/datastore.rs b/src/api2/admin/datastore.rs
> index 263ea96f..c0a87c1a 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!("did not delete whole group because of protected snapshots");

I would reword to: "group only partially deleted due to protected snapshots"

>       }
>   
>       Ok(Value::Null)




      reply	other threads:[~2022-03-10 13:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-09 13:53 Stefan Sterz
2022-03-10 13:41 ` Dylan Whyte [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44bc53c3-8bbc-f39d-e33b-2ae916aeeff3@proxmox.com \
    --to=d.whyte@proxmox.com \
    --cc=pbs-devel@lists.proxmox.com \
    --cc=s.sterz@proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal