derive DefaultCoreAgentChannel from appconfig.AgentData
The unix DefaultCoreAgentChannel string is now derived from appconfig.AgentData,
as opposed to repeating this path.
//Package message contains information for the IPC messages
package message
-const (
+import (
+ "github.com/aws/amazon-ssm-agent/agent/appconfig"
+)
+
+var (
DefaultIPCPrefix = "ipc://"
- DefaultCoreAgentChannel = "/var/lib/amazon/ssm/ipc/"
+ DefaultCoreAgentChannel = appconfig.AgentData + "ipc/"
GetWorkerHealthChannel = DefaultIPCPrefix + DefaultCoreAgentChannel + "health"
TerminationWorkerChannel = DefaultIPCPrefix + DefaultCoreAgentChannel + "termination"
)
