Skip to content

Commit c28ec0e

Browse files
authored
Merge pull request #6497 from thaJeztah/28.x_backport_deprecate_apply
[28.x backport] cli/command: deprecate DockerCli.Apply
2 parents 61b9fd4 + d1c8336 commit c28ec0e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cli/command/cli.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -569,6 +569,8 @@ func (cli *DockerCli) initialize() error {
569569
}
570570

571571
// Apply all the operation on the cli
572+
//
573+
// Deprecated: this method is no longer used and will be removed in the next release if there are no remaining users.
572574
func (cli *DockerCli) Apply(ops ...CLIOption) error {
573575
for _, op := range ops {
574576
if err := op(cli); err != nil {

0 commit comments

Comments
 (0)