Skip to content

Commit

Permalink
Merge branch 'dev' into aws-sdk-go-v2/ecs
Browse files Browse the repository at this point in the history
  • Loading branch information
Yiyuanzzz authored Jan 23, 2025
2 parents 447b0eb + be04138 commit 443e1d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions agent/app/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -868,6 +868,7 @@ func (agent *ecsAgent) registerContainerInstance(
})
return terminalError{err}
}

if utils.IsAWSErrorCodeEqual(err, apierrors.ErrCodeClientException) {
logger.Critical("Instance registration attempt with client performing invalid action", logger.Fields{
field.Error: err,
Expand Down

0 comments on commit 443e1d5

Please sign in to comment.