SIGN IN SIGN UP
docker / compose UNCLAIMED

Define and run multi-container applications with Docker

0 0 63 Go

fix: stop-only metadata no longer drops options for up/down

A previous change extended IsEmpty() to include `Stop == nil`. For a
provider that advertises only a `stop` block, this caused
commandMetadataIsEmpty to be false in setupPluginCommand, which made
the option-forwarding filter reject every key — silently dropping
all provider options on `up` and `down`.

The Stop-presence signal lives independently in stop.go and the
"stop" case of setupPluginCommand, so reverting the IsEmpty check
to its original semantics is sufficient.

Addresses PR #13779 review feedback.

Signed-off-by: Guillaume Lours <glours@users.noreply.github.com>
G
Guillaume Lours committed
5b4586e3a67bdef8224fdefb7d388a481e083e9f
Parent: 19fc292
Committed by Guillaume Lours <705411+glours@users.noreply.github.com> on 5/18/2026, 9:11:38 AM