This is an automated email from the ASF dual-hosted git repository.

hsluoyz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/casbin-gateway.git


The following commit(s) were added to refs/heads/master by this push:
     new 9669e16  style: gofmt llm record retention query
9669e16 is described below

commit 9669e160c6565bb72b2c3c030b244814338477b3
Author: Yang Luo <[email protected]>
AuthorDate: Fri Aug 21 14:38:12 2026 +0800

    style: gofmt llm record retention query
---
 object/llm_record.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/object/llm_record.go b/object/llm_record.go
index 7ef662e..0ee3b6c 100644
--- a/object/llm_record.go
+++ b/object/llm_record.go
@@ -223,7 +223,7 @@ func (writer *llmRecordWriter) prune() {
        }
 
        oldest := []LlmRecord{}
-       if err := 
ormer.Engine.Cols("id").Asc("id").Limit(int(count-maximum)).Find(&oldest); err 
!= nil {
+       if err := ormer.Engine.Cols("id").Asc("id").Limit(int(count - 
maximum)).Find(&oldest); err != nil {
                beego.Error("LLM record retention lookup failed:", err)
                return
        }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to