diff --git a/docs/operator/CHANGELOG.md b/docs/operator/CHANGELOG.md index 6829ecaa1..a807ac66a 100644 --- a/docs/operator/CHANGELOG.md +++ b/docs/operator/CHANGELOG.md @@ -16,6 +16,8 @@ aliases: ## Next release +- [vmalertmanager](./api.md#vmalertmanager): ignores content of `cr.spec.configSecret` if it's name clashes with secret used by operator for storing alertmanager config. See this [issue](https://github.com/VictoriaMetrics/operator/issues/954) for details. + ## [v0.44.0](https://github.com/VictoriaMetrics/operator/releases/tag/v0.44.0) - 9 May 2024 - [vmagent](./api.md#vmagent): adds new fields into `streamAggrConfig`: `dedup_interval`, `ignore_old_samples`, `keep_metric_names`, `no_align_flush_to_interval`. It's only possible to use it with v1.100+ version of `vmagent`. See this [issue](https://github.com/VictoriaMetrics/operator/issues/936) for details. diff --git a/docs/operator/vars.md b/docs/operator/vars.md index b36cccee2..2bd298fd0 100644 --- a/docs/operator/vars.md +++ b/docs/operator/vars.md @@ -10,7 +10,7 @@ menu: # Auto Generated vars for package config - updated at Thu May 9 16:51:28 UTC 2024 + updated at Mon May 20 07:54:43 UTC 2024 | varible name | variable default value | variable required | variable description | diff --git a/lib/logstorage/bitmap_timing_test.go b/lib/logstorage/bitmap_timing_test.go index 1665d9050..9f364290e 100644 --- a/lib/logstorage/bitmap_timing_test.go +++ b/lib/logstorage/bitmap_timing_test.go @@ -94,7 +94,7 @@ func benchmarkBitmapForEachSetBitReadonly(b *testing.B, bm *bitmap) { n := 0 for pb.Next() { bmLocal.copyFrom(bm) - bmLocal.forEachSetBitReadonly(func(idx int) { + bmLocal.forEachSetBitReadonly(func(_ int) { n++ }) } @@ -111,7 +111,7 @@ func benchmarkBitmapForEachSetBit(b *testing.B, bm *bitmap, isClearBits bool) { n := 0 for pb.Next() { bmLocal.copyFrom(bm) - bmLocal.forEachSetBit(func(idx int) bool { + bmLocal.forEachSetBit(func(_ int) bool { n++ return !isClearBits }) diff --git a/lib/logstorage/storage_search.go b/lib/logstorage/storage_search.go index ce74afd39..894c738f2 100644 --- a/lib/logstorage/storage_search.go +++ b/lib/logstorage/storage_search.go @@ -206,7 +206,7 @@ func endsWithPipeUniqSingleField(pipes []pipe, fieldName string) bool { func (s *Storage) runSingleColumnQuery(ctx context.Context, tenantIDs []TenantID, q *Query) ([]string, error) { var values []string var valuesLock sync.Mutex - writeBlockResult := func(workerID uint, br *blockResult) { + writeBlockResult := func(_ uint, br *blockResult) { if len(br.timestamps) == 0 { return }