Remove use of the format list in the connect command (#260)

This commit is contained in:
John Wood
2022-02-24 12:40:07 -08:00
committed by GitHub
parent d167b5f48d
commit f8a8c1f06a
-3
View File
@@ -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 {