From 892a4d141124d253e415ab07fdc87621501f35c0 Mon Sep 17 00:00:00 2001 From: kangxiang Date: Wed, 11 Dec 2024 17:16:19 +0800 Subject: [PATCH] fix: agent config file.io_event.collect_mode --- server/controller/trisolaris/vtap/vtap_cache.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/controller/trisolaris/vtap/vtap_cache.go b/server/controller/trisolaris/vtap/vtap_cache.go index db67ff1e34d..e157c27f6ca 100644 --- a/server/controller/trisolaris/vtap/vtap_cache.go +++ b/server/controller/trisolaris/vtap/vtap_cache.go @@ -527,7 +527,7 @@ func (c *VTapCache) modifyVTapConfigByLicense(configure *VTapConfig) { if configure.UserConfig != nil { configure.UserConfig.Set("inputs.ebpf.disabled", true) - configure.UserConfig.Set("inputs.ebpf.file.io_event.collect_mode", []int{0}) + configure.UserConfig.Set("inputs.ebpf.file.io_event.collect_mode", 0) } }