Skip to content

Commit

Permalink
Remove call to api.Backend.ldap2.disconnect()
Browse files Browse the repository at this point in the history
This was added while I was testing the IPA LDAP client
cache performance. By disconnecting a summary of the cache is
logged. I never intended it remain in the code.

Fixes: #310

Signed-off-by: Rob Crittenden <rcritten@redhat.com>
  • Loading branch information
rcritten committed Nov 9, 2023
1 parent f2eb911 commit a56f1f8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/ipahealthcheck/core/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import sys
import traceback
import warnings
from ipalib import api

from datetime import datetime, timezone

Expand Down Expand Up @@ -465,7 +464,6 @@ def run_healthcheck(self):
return 1

results = exclude_keys(config, results)
api.Backend.ldap2.disconnect()

try:
output.render(results)
Expand Down

0 comments on commit a56f1f8

Please sign in to comment.