From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id C40B460E40 for ; Mon, 7 Feb 2022 14:55:50 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id BA1B325743 for ; Mon, 7 Feb 2022 14:55:20 +0100 (CET) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id 17C292573A for ; Mon, 7 Feb 2022 14:55:17 +0100 (CET) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id DCF33461C3 for ; Mon, 7 Feb 2022 14:55:16 +0100 (CET) From: Stefan Sterz To: pbs-devel@lists.proxmox.com Date: Mon, 7 Feb 2022 14:54:15 +0100 Message-Id: <20220207135415.2419225-1-s.sterz@proxmox.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 BAYES_00 -1.9 Bayes spam probability is 0 to 1% KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record T_SCC_BODY_TEXT_LINE -0.01 - Subject: [pbs-devel] [PATCH proxmox] api-macro: fix "Forgerty" typo X-BeenThere: pbs-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Backup Server development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Feb 2022 13:55:50 -0000 Signed-off-by: Stefan Sterz --- 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 { }, "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