Skip to content

Commit

Permalink
Remove unnecessary check
Browse files Browse the repository at this point in the history
The missing PROC_FIPS_ENABLED should be considered a bug
in the base package, therefore no need to check here.
  • Loading branch information
duzda committed Feb 24, 2025
1 parent 1e3225b commit 70b4ec8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions src/ipahealthcheck/meta/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@
from ipapython.version import VERSION, API_VERSION
from ipaplatform.paths import paths

if 'PROC_FIPS_ENABLED' not in dir(paths):
paths.PROC_FIPS_ENABLED = '/proc/sys/crypto/fips_enabled'

logger = logging.getLogger()


Expand Down
3 changes: 0 additions & 3 deletions tests/test_meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@
from ipahealthcheck.meta.core import MetaCheck
from ipaplatform.paths import paths

if 'PROC_FIPS_ENABLED' not in dir(paths):
paths.PROC_FIPS_ENABLED = '/proc/sys/crypto/fips_enabled'


def gen_result(returncode, output='', error=''):
"""
Expand Down

0 comments on commit 70b4ec8

Please sign in to comment.