Merge pull request #6496 from thaJeztah/deprecate_apply

cli/command: deprecate DockerCli.Apply
This commit is contained in:
Paweł Gronowski
2025-09-25 12:29:19 +00:00
committed by GitHub

View File

@ -568,6 +568,8 @@ func (cli *DockerCli) initialize() error {
}
// Apply all the operation on the cli
//
// Deprecated: this method is no longer used and will be removed in the next release if there are no remaining users.
func (cli *DockerCli) Apply(ops ...CLIOption) error {
for _, op := range ops {
if err := op(cli); err != nil {