Skip to content

Commit

Permalink
Advertise fault-injection capability (aws#4339)
Browse files Browse the repository at this point in the history
  • Loading branch information
amogh09 authored and mye956 committed Oct 3, 2024
1 parent b264aa5 commit 89e97e7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions agent/app/agent_capability.go
Original file line number Diff line number Diff line change
Expand Up @@ -314,8 +314,7 @@ func (agent *ecsAgent) capabilities() ([]*ecs.Attribute, error) {
capabilities = removeAttributesByNames(capabilities, externalUnsupportedCapabilities)
}

// TODO add fault-injection capabilities if applicable
// capabilities = agent.appendFaultInjectionCapabilities(capabilities)
capabilities = agent.appendFaultInjectionCapabilities(capabilities)

return capabilities, nil
}
Expand Down Expand Up @@ -543,9 +542,6 @@ func (agent *ecsAgent) appendEBSTaskAttachCapabilities(capabilities []*ecs.Attri
return capabilities
}

// TODO Remove linter directive below when the function becomes used
//
//lint:ignore U1000 as this method will be used in the future.
func (agent *ecsAgent) appendFaultInjectionCapabilities(capabilities []*ecs.Attribute) []*ecs.Attribute {

// Check if the agent is running in EXTERNAL launch type
Expand Down

0 comments on commit 89e97e7

Please sign in to comment.