From 5fbd62a876518b159f5093326aabed5d6d9e3b35 Mon Sep 17 00:00:00 2001 From: Matteo Pace Date: Thu, 7 Nov 2024 09:50:52 +0000 Subject: [PATCH] docs: nits and avoids mentioning not existing resources (#1203) nits:doc --- internal/corazawaf/transaction.go | 3 +-- internal/seclang/directives.go | 3 --- types/transaction.go | 1 - 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/internal/corazawaf/transaction.go b/internal/corazawaf/transaction.go index 1a4785b90..2fe3585c8 100644 --- a/internal/corazawaf/transaction.go +++ b/internal/corazawaf/transaction.go @@ -1292,8 +1292,7 @@ func (tx *Transaction) ProcessResponseBody() (*types.Interruption, error) { return tx.interruption, nil } -// ProcessLogging Logging all information relative to this transaction. -// An error log +// ProcessLogging logs all information relative to this transaction. // At this point there is not need to hold the connection, the response can be // delivered prior to the execution of this method. func (tx *Transaction) ProcessLogging() { diff --git a/internal/seclang/directives.go b/internal/seclang/directives.go index 7d02b89d8..30540da32 100644 --- a/internal/seclang/directives.go +++ b/internal/seclang/directives.go @@ -774,9 +774,6 @@ func directiveSecAuditLogRelevantStatus(options *DirectiveOptions) error { // Syntax: SecAuditLogParts [PARTLETTERS] // Default: ABCFHZ // --- -// The format of the audit log format is documented in detail in the Audit Log Data -// Format Documentation. -// // Example: // ```apache // SecAuditLogParts ABCFHZ diff --git a/types/transaction.go b/types/transaction.go index 97c7d7ce0..b16448a20 100644 --- a/types/transaction.go +++ b/types/transaction.go @@ -148,7 +148,6 @@ type Transaction interface { ReadResponseBodyFrom(io.Reader) (*Interruption, int, error) // ProcessLogging Logging all information relative to this transaction. - // An error log // At this point there is not need to hold the connection, the response can be // delivered prior to the execution of this method. ProcessLogging()