Skip to content

Commit

Permalink
Remove redundant code in subsystem_layout.py
Browse files Browse the repository at this point in the history
  • Loading branch information
edewata committed Jul 19, 2023
1 parent 3659baf commit 693aa62
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -456,18 +456,6 @@ def destroy(self, deployer):
if config.str2bool(deployer.mdict['pki_registry_enable']):
subsystem.remove_registry(force=deployer.force)

if deployer.mdict['pki_subsystem'] == "CA":

logger.info('Removing %s/emails', subsystem.conf_dir)
pki.util.rmtree(
path=subsystem.conf_dir + '/emails',
force=deployer.force)

logger.info('Removing %s/profiles', subsystem.conf_dir)
pki.util.rmtree(
path=subsystem.conf_dir + '/profiles',
force=deployer.force)

if deployer.remove_logs:
subsystem.remove_logs(force=deployer.force)

Expand Down

0 comments on commit 693aa62

Please sign in to comment.