From 2a49b7903bec80a870d9a1deb2d47a49146e089d Mon Sep 17 00:00:00 2001 From: rainzm Date: Wed, 13 Oct 2021 11:41:52 +0800 Subject: [PATCH] fix(devtool): change agent install metadata key The tag beginning with sys will be overwritten by the cloud --- pkg/devtool/tasks/apply_script_task.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/devtool/tasks/apply_script_task.go b/pkg/devtool/tasks/apply_script_task.go index fadbd1eb70..0576038f79 100644 --- a/pkg/devtool/tasks/apply_script_task.go +++ b/pkg/devtool/tasks/apply_script_task.go @@ -171,7 +171,7 @@ func mapStringSlice(f func(string) string, a []string) []string { } const ( - agentInstalledKey = "sys:monitor_agent" + agentInstalledKey = "__monitor_agent" agentInstalledValue = "true" )