From 69be7dd7f0453a1f6b175883a1887c09ef0f7b86 Mon Sep 17 00:00:00 2001 From: Honigeintopf Date: Wed, 4 Sep 2024 13:36:27 +0200 Subject: [PATCH 1/2] Fixed bug No idea why, but not all changes are reflect in git --- auditing/meilisearch.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/auditing/meilisearch.go b/auditing/meilisearch.go index ef121f5..edf47ed 100644 --- a/auditing/meilisearch.go +++ b/auditing/meilisearch.go @@ -197,7 +197,13 @@ func (a *meiliAuditing) Search(filter EntryFilter) ([]Entry, error) { continue } - indexQuery := reqProto + indexQuery := &meilisearch.SearchRequest{ + Filter: reqProto.Filter, + Query: reqProto.Query, + Sort: reqProto.Sort, + Limit: reqProto.Limit, + } + indexQuery.IndexUID = index.UID req.Queries = append(req.Queries, indexQuery) From 6191d1f3ce1521f7387ed6839e885bf1cbed5397 Mon Sep 17 00:00:00 2001 From: Honigeintopf Date: Wed, 4 Sep 2024 15:04:40 +0200 Subject: [PATCH 2/2] No lint for linter error --- pkg/ssh/ssh.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/ssh/ssh.go b/pkg/ssh/ssh.go index 235f790..04017bf 100644 --- a/pkg/ssh/ssh.go +++ b/pkg/ssh/ssh.go @@ -125,7 +125,7 @@ func (c *Client) Connect(env *Env) error { ssh.TTY_OP_OSPEED: 115200, // output speed = 14.4kbaud } - fileDescriptor := int(os.Stdin.Fd()) + fileDescriptor := int(os.Stdin.Fd()) //nolint if term.IsTerminal(fileDescriptor) { originalState, err := term.MakeRaw(fileDescriptor)