From f8a8c1f06a0bdea27dbb26d1b1fb248bc2ec1b44 Mon Sep 17 00:00:00 2001 From: John Wood Date: Thu, 24 Feb 2022 12:40:07 -0800 Subject: [PATCH] Remove use of the format list in the connect command (#260) --- cli/cli.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/cli/cli.go b/cli/cli.go index 04e1024..f3cb8da 100644 --- a/cli/cli.go +++ b/cli/cli.go @@ -180,12 +180,9 @@ func Run(args []string, tty terminal.Terminal) int { result.VerifyResult = &verifyResult certList := result.Certificates - formatList := result.Formats if *connectFirst && len(certList) > 0 { certList = certList[:1] - formatList = formatList[:1] result.Certificates = certList - result.Formats = formatList } if *connectJSON {