Skip to content

Commit f369c5b

Browse files
authored
Merge pull request #6496 from thaJeztah/deprecate_apply
cli/command: deprecate DockerCli.Apply
2 parents ef3c19a + 24bfedf commit f369c5b

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
@@ -568,6 +568,8 @@ func (cli *DockerCli) initialize() error {
568568
}
569569

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

0 commit comments

Comments
 (0)