From 423ce08cc8f41632ba0820c395dbf8a3a8f0c444 Mon Sep 17 00:00:00 2001 From: Gerrit91 Date: Tue, 19 Sep 2023 13:30:44 +0200 Subject: [PATCH] Remove unnecessary linter exclusion. --- cmd/internal/database/meilisearch/meilisearch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/internal/database/meilisearch/meilisearch.go b/cmd/internal/database/meilisearch/meilisearch.go index 6b0f10f..b8d8cb3 100644 --- a/cmd/internal/database/meilisearch/meilisearch.go +++ b/cmd/internal/database/meilisearch/meilisearch.go @@ -188,7 +188,7 @@ func (db *Meilisearch) importDump(ctx context.Context, dump string) error { ) args := []string{"--import-dump", dump, "--master-key", db.apikey, "--dump-dir", constants.RestoreDir, "--db-path", db.datadir, "--http-addr", "localhost:1"} - cmd := exec.CommandContext(ctx, meilisearchCmd, args...) // nolint:gosec + cmd := exec.CommandContext(ctx, meilisearchCmd, args...) cmd.Stdout = os.Stdout cmd.Stderr = os.Stderr