Skip to content

Commit 30dd186

Browse files
strawgateclaude
andcommitted
fix: remove build tag from docker benchmark test, add changelog fragment
- Remove //go:build linux || darwin || windows from benchmark test — MockWatcherFactory is defined in the main test file which has no build constraint, so the linter could not resolve the symbol. - Add changelog fragment for PR 49761. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent f76705a commit 30dd186

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
kind: enhancement
2+
summary: Remove unnecessary allocations in hot-path processors (docker metadata, kubernetes metadata, dissect, timestamp)
3+
component: libbeat
4+
pr:
5+
- https://github.com/elastic/beats/pull/49761

libbeat/processors/add_docker_metadata/add_docker_metadata_benchmark_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
// specific language governing permissions and limitations
1616
// under the License.
1717

18-
//go:build linux || darwin || windows
19-
2018
package add_docker_metadata
2119

2220
import (

0 commit comments

Comments
 (0)