From 2f733b87f9d51e18dd0d04efb68916e624fdb4b8 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Thu, 15 Dec 2022 10:18:29 +0100 Subject: [PATCH] cli/flags: remove outdated TODO Libtrust was only used for pushing schema 2, v1 images, which is no longer supported; this TODO was likely left from when the CLI and daemon were in the same repository. Signed-off-by: Sebastiaan van Stijn --- cli/flags/options.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/cli/flags/options.go b/cli/flags/options.go index 3d318cf1f6..3f461b2403 100644 --- a/cli/flags/options.go +++ b/cli/flags/options.go @@ -71,8 +71,6 @@ func (o *ClientOptions) InstallFlags(flags *pflag.FlagSet) { flags.BoolVar(&o.TLS, "tls", dockerTLS, "Use TLS; implied by --tlsverify") flags.BoolVar(&o.TLSVerify, FlagTLSVerify, dockerTLSVerify, "Use TLS and verify the remote") - // TODO use flag flags.String("identity"}, "i", "", "Path to libtrust key file") - o.TLSOptions = &tlsconfig.Options{ CAFile: filepath.Join(dockerCertPath, DefaultCaFile), CertFile: filepath.Join(dockerCertPath, DefaultCertFile),