Skip to content

Commit

Permalink
Some reformatting
Browse files Browse the repository at this point in the history
  • Loading branch information
amogh09 committed Jun 2, 2023
1 parent a5570f9 commit a84e7fc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ecs-agent/tmds/handlers/v4/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@ func getTaskErrorResponse(endpointContainerID string, err error) (int, string) {
return http.StatusInternalServerError, errFailedToGetContainerMetadata.ExternalReason()
}

logger.Error("Unknown error encountered when handling task metadata fetch failure",
logger.Fields{field.Error: err})
logger.Error("Unknown error encountered when handling task metadata fetch failure", logger.Fields{
field.Error: err,
})
return http.StatusInternalServerError, "failed to get task metadata"
}

0 comments on commit a84e7fc

Please sign in to comment.