1b085a2b63
The Apply method was added when CLI options for constructing the CLI were rewritten into functional options in [cli@7f207f3]. There was no mention in the pull request of this method specifically, and this may have been related to work being done elsewhere on compose-on-kubernetes or the compose-cli plugin that may have needed options to modify the CLI config after it was already initialized. The CLI itself no longer depends on this method since [cli@133279f], and there are no known external users. It was deprecated in [cli@24bfedf], which is included in the 28.5.0 release, so we can remove it for 29.0. [cli@7f207f3]: https://github.com/docker/cli/commit/7f207f3f957ed3f5129aeb22bef2a429c14caf22 [cli@133279f]: https://github.com/docker/cli/commit/133279fb0d4adea30d27d27eb8789b79405fc82b [cli@24bfedf]: https://github.com/docker/cli/commit/24bfedf3f88762bcd46e6452d6547d838f780e6b Signed-off-by: Sebastiaan van Stijn <github@gone.nl>