From c270ae0dab589e56a5e9f41956def2e57204b20e Mon Sep 17 00:00:00 2001 From: Trevor Whitney Date: Tue, 23 Apr 2024 10:44:33 -0600 Subject: [PATCH 1/2] fix: lambda-promtail vendor hash --- nix/packages/loki.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/packages/loki.nix b/nix/packages/loki.nix index e88fac6b6bb05..977161460eb8d 100644 --- a/nix/packages/loki.nix +++ b/nix/packages/loki.nix @@ -5,7 +5,7 @@ let pname = "lambda-promtail"; src = ./../../tools/lambda-promtail; - vendorHash = "sha256-PBdPIrN0aWO38bgoAg6jZlY7scpUM2tAjJ6bMN4SQt8="; + vendorHash = "sha256-CKob173T0VHD5c8F26aU7p1l+QzqddNM4qQedMbLJa0="; doCheck = false; From d3dd22e0e1cd539174c1a4189b7af676a92d4f02 Mon Sep 17 00:00:00 2001 From: Trevor Whitney Date: Tue, 23 Apr 2024 11:45:01 -0600 Subject: [PATCH 2/2] fix: linting, remove unused param --- pkg/bloomgateway/processor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/bloomgateway/processor.go b/pkg/bloomgateway/processor.go index 8f79e417ab9f4..d94b305a9b26b 100644 --- a/pkg/bloomgateway/processor.go +++ b/pkg/bloomgateway/processor.go @@ -63,7 +63,7 @@ func (p *processor) runWithBounds(ctx context.Context, tasks []Task, bounds v1.M return nil } -func (p *processor) processTasks(ctx context.Context, tenant string, day config.DayTime, keyspaces v1.MultiFingerprintBounds, tasks []Task) error { +func (p *processor) processTasks(ctx context.Context, tenant string, day config.DayTime, _ v1.MultiFingerprintBounds, tasks []Task) error { level.Info(p.logger).Log("msg", "process tasks for day", "tenant", tenant, "tasks", len(tasks), "day", day.String()) var duration time.Duration