mirror of
https://github.com/docker/compose.git
synced 2026-11-17 13:45:39 +00:00
down handled a provider service by running the plugin alone — but the service may own a project container, the relay deployed when it published endpoints. Left running, it kept the project network in use and `down -v` failed with "Resource is still in use". The relay is now part of the service's deprovisioning: its containers are removed first, then the plugin removes the provider's resource — mirroring up, which provisions the resource before deploying the relay. The example provider's down used to answer with a hardcoded error (a leftover no test relied on): it now succeeds, with the failure simulation kept behind PROVIDER_DOWN_FAILURE. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com> |
||
|---|---|---|
| .. | ||
| sdk | ||
| provider.go | ||