Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jtschladen committed Sep 18, 2024
1 parent d6c6f94 commit b6fbfa6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lemur/certificates/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -600,13 +600,13 @@ def reissue(old_certificate_name, serial_numbers, notify, commit):

old_cert_by_name = validate_certificate(old_certificate_name)
if old_cert_by_name:
click.echo("[+] Reissuing 1 certificate by name")
certs_to_reissue.append(old_cert_by_name)
click.echo("[+] Reissuing 1 certificate by name")

old_certs_by_serial_numbers = validate_certificates_by_serial_numbers(serial_numbers)
if old_certs_by_serial_numbers:
click.echo(f"[+] Reissuing {len(old_certs_by_serial_numbers)} certificates by serial number")
certs_to_reissue.extend(old_certs_by_serial_numbers)
click.echo(f"[+] Reissuing {len(old_certs_by_serial_numbers)} certificates by serial number")

# if neither name nor serial numbers were specified, reissue all pending reissues
if not certs_to_reissue:
Expand Down

0 comments on commit b6fbfa6

Please sign in to comment.