Skip to content

cli/command/stack: remove some deprecated functions - #6398

Merged
robmry merged 5 commits into
docker:masterfrom
thaJeztah:rm_deprecated_stack
Aug 29, 2025
Merged

cli/command/stack: remove some deprecated functions#6398
robmry merged 5 commits into
docker:masterfrom
thaJeztah:rm_deprecated_stack

Conversation

@thaJeztah

@thaJeztahthaJeztah commented Aug 29, 2025

Copy link
Copy Markdown
Member

cli/command/stack: remove deprecated RunList and options.List

These were deprecated in f0e5a0d and
d16c560 and were only used internally.

cli/command/stack: remove deprecated RunServices and swarm.GetServices

These were deprecated in f0e5a0d,
036d3a6, and
d16c560 and were only used internally.

cli/command/stack/swarm: remove deprecated RunPS and options.PS

These were deprecated in f0e5a0d and
036d3a6 and were only used internally.

cli/command/stack/swarm: inline validateResolveImageFlag

It was only used in a single place, and possibly incorrect. Let's inline
it to put the logic where it's used.

cli/command/stack/swarm: deployServices: use struct-literal for options

- Human readable description for the release notes

Go SDK: cli/command/stack: remove deprecated RunList and options.List
Go SDK: cli/command/stack: remove deprecated RunServices and swarm.GetServices
Go SDK: cli/command/stack/swarm: remove deprecated RunPS and options.PS

- A picture of a cute animal (not mandatory but encouraged)

These were deprecated in f0e5a0d and
d16c560 and were only used internally.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
These were deprecated in f0e5a0d,
036d3a6, and
d16c560 and were only used internally.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
These were deprecated in f0e5a0d and
036d3a6 and were only used internally.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
It was only used in a single place, and possibly incorrect. Let's inline
it to put the logic where it's used.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztahthaJeztah added this to the 29.0.0 milestone Aug 29, 2025
@thaJeztah
thaJeztah requested review from a team and silvin-lubecki as code ownersAugust 29, 2025 12:55
@thaJeztahthaJeztah added impact/deprecation status/2-code-review area/stack kind/refactor PR's that refactor, or clean-up code area/go-sdk Changes affecting the Go SDK impact/go-sdk Noteworthy (compatibility changes) in the Go SDK labels Aug 29, 2025
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 81.66667% with 11 lines in your changes missing coverage. Please review.

Files with missing linesPatch %Lines
cli/command/stack/swarm/deploy.go0.00%5 Missing ⚠️
cli/command/stack/swarm/deploy_composefile.go0.00%5 Missing ⚠️
cli/command/stack/ps.go96.15%1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@robmry
robmry merged commit 81ea282 into docker:masterAug 29, 2025
111 checks passed
@thaJeztah
thaJeztah deleted the rm_deprecated_stack branch August 29, 2025 18:13
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/go-sdkChanges affecting the Go SDKarea/stackimpact/deprecationimpact/go-sdkNoteworthy (compatibility changes) in the Go SDKkind/refactorPR's that refactor, or clean-up codestatus/2-code-review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@thaJeztah@codecov-commenter@Benehiko@robmry