Skip to content

Commit c52dd26

Browse files
committed
feat: add fetch config body param
1 parent dd38186 commit c52dd26

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/agent/host.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import (
1919
type HostInfo struct {
2020
AgentVersion string `json:"agent_version"`
2121
AgentExecutablePath string `json:"agent_executable_path"`
22+
AgentApp string `json:"agent_app"`
2223
ServiceExecutablePath string `json:"service_executable_path"`
2324
HostName string `json:"hostname"`
2425
MacAddress *string `json:"mac_address"`
@@ -225,6 +226,7 @@ func (hostInfo *HostInfo) Load(ctx context.Context, orgId string) error {
225226
hostInfo.IsEntraConnectServer = isEntraConnectServer
226227
hostInfo.EntraDomain = entraDomain
227228
hostInfo.OrgId = orgId
229+
hostInfo.AgentApp = "agent-smith-go"
228230

229231
return nil
230232
}

0 commit comments

Comments
 (0)