all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Stefan Sterz <s.sterz@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH proxmox] api-macro: fix "Forgerty" typo
Date: Mon,  7 Feb 2022 14:54:15 +0100	[thread overview]
Message-ID: <20220207135415.2419225-1-s.sterz@proxmox.com> (raw)

Signed-off-by: Stefan Sterz <s.sterz@proxmox.com>
---
 proxmox-api-macro/src/lib.rs    | 2 +-
 proxmox-api-macro/tests/api1.rs | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/proxmox-api-macro/src/lib.rs b/proxmox-api-macro/src/lib.rs
index e868251..ffe4a80 100644
--- a/proxmox-api-macro/src/lib.rs
+++ b/proxmox-api-macro/src/lib.rs
@@ -103,7 +103,7 @@ fn router_do(item: TokenStream) -> Result<TokenStream, Error> {
                 },
                 "CSRFPreventionToken": {
                     type: String,
-                    description: "Cross Site Request Forgerty Prevention Token.",
+                    description: "Cross Site Request Forgery Prevention Token.",
                 },
             },
         },
diff --git a/proxmox-api-macro/tests/api1.rs b/proxmox-api-macro/tests/api1.rs
index ebb896d..fd9a338 100644
--- a/proxmox-api-macro/tests/api1.rs
+++ b/proxmox-api-macro/tests/api1.rs
@@ -31,7 +31,7 @@ use proxmox_router::Permission;
             },
             "CSRFPreventionToken": {
                 type: String,
-                description: "Cross Site Request Forgerty Prevention Token.",
+                description: "Cross Site Request Forgery Prevention Token.",
             },
         },
     },
@@ -89,7 +89,7 @@ fn create_ticket_schema_check() {
                     "CSRFPreventionToken",
                     false,
                     &::proxmox_schema::StringSchema::new(
-                        "Cross Site Request Forgerty Prevention Token.",
+                        "Cross Site Request Forgery Prevention Token.",
                     )
                     .schema(),
                 ),
@@ -138,7 +138,7 @@ fn create_ticket_schema_check() {
             },
             "CSRFPreventionToken": {
                 type: String,
-                description: "Cross Site Request Forgerty Prevention Token.",
+                description: "Cross Site Request Forgery Prevention Token.",
             },
         },
     },
@@ -190,7 +190,7 @@ fn create_ticket_direct_schema_check() {
                     "CSRFPreventionToken",
                     false,
                     &::proxmox_schema::StringSchema::new(
-                        "Cross Site Request Forgerty Prevention Token.",
+                        "Cross Site Request Forgery Prevention Token.",
                     )
                     .schema(),
                 ),
-- 
2.30.2





             reply	other threads:[~2022-02-07 13:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-07 13:54 Stefan Sterz [this message]
2022-02-07 14:38 ` [pbs-devel] applied: " Thomas Lamprecht

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=20220207135415.2419225-1-s.sterz@proxmox.com \
    --to=s.sterz@proxmox.com \
    --cc=pbs-devel@lists.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal