You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@skywalking.apache.org by li...@apache.org on 2024/12/27 05:50:59 UTC
(skywalking-rover) branch reduce-handle-connect-time updated: add func name desc
This is an automated email from the ASF dual-hosted git repository.
liuhan pushed a commit to branch reduce-handle-connect-time
in repository https://gitbox.apache.org/repos/asf/skywalking-rover.git
The following commit(s) were added to refs/heads/reduce-handle-connect-time by this push:
new 46fc067 add func name desc
46fc067 is described below
commit 46fc06749bdab16fa9cd6680b8af274de614a7d3
Author: mrproliu <74...@qq.com>
AuthorDate: Fri Dec 27 13:50:49 2024 +0800
add func name desc
---
pkg/accesslog/forwarder/connect.go | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pkg/accesslog/forwarder/connect.go b/pkg/accesslog/forwarder/connect.go
index 2058d25..2791b90 100644
--- a/pkg/accesslog/forwarder/connect.go
+++ b/pkg/accesslog/forwarder/connect.go
@@ -40,7 +40,7 @@ func SendConnectEvent(context *common.AccessLogContext, event *events.SocketConn
func connectLogBuilder(event events.Event) *v3.AccessLogKernelLog {
connectEvent := event.(*common.ConnectEventWithSocket)
switch connectEvent.FuncName {
- case enums.SocketFunctionNameConnect:
+ case uint8(enums.SocketFunctionNameConnect):
return &v3.AccessLogKernelLog{
Operation: &v3.AccessLogKernelLog_Connect{
Connect: &v3.AccessLogKernelConnectOperation{
@@ -50,7 +50,7 @@ func connectLogBuilder(event events.Event) *v3.AccessLogKernelLog {
},
},
}
- case enums.SocketFunctionNameAccept:
+ case uint8(enums.SocketFunctionNameAccept):
return &v3.AccessLogKernelLog{
Operation: &v3.AccessLogKernelLog_Accept{
Accept: &v3.AccessLogKernelAcceptOperation{