Files
floci/src/main/java
Mario Toffia 5a8694e97a fix(ecs): accept a service ARN in ListTasks (#4859)
ListTasks looked the serviceName filter up by the string it was given,
so only a bare service name matched. A service ARN, which is what CDK
passes, found no service, and the call returned an empty taskArns list
even while the service had running tasks.

The filter now goes through extractServiceName, the helper UpdateService
and DeleteService already use, which keeps the last path segment. A
name, a full service/<cluster>/<name> ARN, the older service/<name> ARN
and <cluster>/<name> all resolve to the service in the request's
cluster. AWS accepts each of these forms. An unknown service still
lists nothing, which is unchanged.
2026-10-08 07:41:20 -04:00
..