public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH proxmox] api-macro: fix "Forgerty" typo
@ 2022-02-07 13:54 Stefan Sterz
  2022-02-07 14:38 ` [pbs-devel] applied: " Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Sterz @ 2022-02-07 13:54 UTC (permalink / raw)
  To: pbs-devel

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-02-07 14:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-07 13:54 [pbs-devel] [PATCH proxmox] api-macro: fix "Forgerty" typo Stefan Sterz
2022-02-07 14:38 ` [pbs-devel] applied: " Thomas Lamprecht

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