mirror of
https://github.com/docker/compose.git
synced 2026-11-17 13:45:39 +00:00
runUp is above the cognitive complexity limit of the linter once gocognit is updated, because of the nested branches that select the services whose logs are followed. Move that selection to upOptions.attachedServices, without changing what it does, and cover its rules (--attach, --no-attach, --attach-dependencies, attach: false in the Compose file), which no test exercised. Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com> |
||
|---|---|---|
| .. | ||
| cmdtrace | ||
| compatibility | ||
| compose | ||
| display | ||
| formatter | ||
| prompt | ||
| main.go | ||