Skip to content

Commit

Permalink
Fix typo in CertFixCLI
Browse files Browse the repository at this point in the history
Resolves: #4917
  • Loading branch information
edewata committed Jan 22, 2025
1 parent c0ceb9b commit bdcd55a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions base/server/python/pki/server/cli/cert.py
Original file line number Diff line number Diff line change
Expand Up @@ -1265,13 +1265,13 @@ def execute(self, argv, args=None):
ldap_url = None
use_ldapi = False

if args.ldap_socket and args.ldap_url:
if args.ldapi_socket and args.ldap_url:
logger.error('--ldapi-socket cannot be used with --ldap-url')
sys.exit(1)

if args.ldap_socket:
if args.ldapi_socket:
use_ldapi = True
ldap_url = 'ldapi://{}'.format(quote(args.ldap_socket, safe=''))
ldap_url = 'ldapi://{}'.format(quote(args.ldapi_socket, safe=''))

if args.ldap_url:
ldap_url = args.ldap_url
Expand Down

0 comments on commit bdcd55a

Please sign in to comment.