diff --git a/agent/app/agent_capability.go b/agent/app/agent_capability.go index e62cd8a1399..e0b36363eeb 100644 --- a/agent/app/agent_capability.go +++ b/agent/app/agent_capability.go @@ -134,6 +134,7 @@ var ( attributePrefix + taskEIAWithOptimizedCPU, attributePrefix + capabilityServiceConnect, attributePrefix + capabilityEBSTaskAttach, + attributePrefix + capabilityFaultInjection, } // List of capabilities that are only supported on external capaciity. Currently only one but keep as a list // for future proof and also align with externalUnsupportedCapabilities. diff --git a/agent/handlers/task_server_setup.go b/agent/handlers/task_server_setup.go index 47718bd5c00..2037ad55315 100644 --- a/agent/handlers/task_server_setup.go +++ b/agent/handlers/task_server_setup.go @@ -96,9 +96,8 @@ func taskServerSetup( agentAPIV1HandlersSetup(muxRouter, state, credentialsManager, cluster, tmdsAgentState, taskProtectionClientFactory, metricsFactory) - // TODO: Future PR to pass in TMDS server router once all of the handlers have been implemented. execWrapper := execwrapper.NewExec() - registerFaultHandlers(nil, tmdsAgentState, metricsFactory, execWrapper) + registerFaultHandlers(muxRouter, tmdsAgentState, metricsFactory, execWrapper) return tmds.NewServer(auditLogger, tmds.WithHandler(muxRouter),