diff --git a/dongtai-agent/src/main/java/io/dongtai/iast/agent/report/AgentRegisterReport.java b/dongtai-agent/src/main/java/io/dongtai/iast/agent/report/AgentRegisterReport.java index fa6169bab..2575c6f4a 100644 --- a/dongtai-agent/src/main/java/io/dongtai/iast/agent/report/AgentRegisterReport.java +++ b/dongtai-agent/src/main/java/io/dongtai/iast/agent/report/AgentRegisterReport.java @@ -49,7 +49,8 @@ private String generateAgentRegisterMsg() { object.put("uuid", uuid); } object.put("name", AgentRegisterReport.getAgentToken()); - object.put("version", Version.VERSION); + //web端展示会截取v符号,历史因素 + object.put("version","v" + Version.VERSION); object.put("projectName", getProjectName()); object.put("clusterName", getClusterName()); object.put("clusterVersion", getClusterVersion());