Skip to content

processmanager: fix go vet issues#1441

Open
florianl wants to merge 1 commit into
open-telemetry:mainfrom
florianl:go-vet
Open

processmanager: fix go vet issues#1441
florianl wants to merge 1 commit into
open-telemetry:mainfrom
florianl:go-vet

Conversation

@florianl
Copy link
Copy Markdown
Member

go vet reports the following issues:

processmanager/processinfo_test.go:49:21: go.opentelemetry.io/ebpf-profiler/libc.LibcInfo struct literal uses unkeyed fields
processmanager/processinfo_test.go:61:21: go.opentelemetry.io/ebpf-profiler/libc.LibcInfo struct literal uses unkeyed fields

Fix this issue by using the respective field name in the assignment.

go vet reports the following issues:
```
processmanager/processinfo_test.go:49:21: go.opentelemetry.io/ebpf-profiler/libc.LibcInfo struct literal uses unkeyed fields
processmanager/processinfo_test.go:61:21: go.opentelemetry.io/ebpf-profiler/libc.LibcInfo struct literal uses unkeyed fields
```

Fix this issue by using the respective field name in the assignment.

Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
@florianl florianl requested review from a team as code owners May 21, 2026 07:46
@christos68k christos68k enabled auto-merge (squash) May 21, 2026 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants