Skip to content

Commit

Permalink
Fix slog usage (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
keisku authored Jul 12, 2024
1 parent 9c4ba26 commit 9fe725b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ebpf/gmon.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func Run(ctx context.Context, config Config) (func(), error) {
}
}
if err := objs.Close(); err != nil {
slog.Warn("Failed to close bpf objects: %s", err)
slog.Warn("Failed to close bpf objects", slog.Any("error", err))
}
}, nil
}
Expand Down

0 comments on commit 9fe725b

Please sign in to comment.