mirror of
https://github.com/square/certigo.git
synced 2024-04-21 12:32:40 +00:00
Remove use of the format list in the connect command (#260)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user