Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: aws/amazon-ecs-agent
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0696bc52070d8934298b533382bba06665e2bb69
Choose a base ref
..
head repository: aws/amazon-ecs-agent
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 03eacd3c2238ae1c03b6e69317ffcf4cb4a0b28d
Choose a head ref

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ecs-agent/acs/session/attach_resource_responder.go
Original file line number Diff line number Diff line change
@@ -69,7 +69,7 @@ func (r *attachResourceResponder) handleAttachMessage(message *ecsacs.ConfirmAtt

// Validate fields in the message.
attachmentProperties, err := validateAttachResourceMessage(message)
r.metricsFactory.New(metrics.ResourceValidationMetricName).Done(err)()
r.metricsFactory.New(metrics.ResourceValidationMetricName).Done(err)
if err != nil {
logger.Error(fmt.Sprintf("Error validating %s received from ECS", AttachResourceMessageName), logger.Fields{
field.Error: err,