Skip to content

Commit

Permalink
Remove redundant code in PKISubsystem.remove_logs()
Browse files Browse the repository at this point in the history
  • Loading branch information
edewata committed Sep 25, 2024
1 parent 175e372 commit fe6567d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions base/server/python/pki/server/subsystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,14 +301,6 @@ def remove_registry(self, force=False):

def remove_logs(self, force=False):

# Remove /var/lib/pki/<instance>/logs/<subsystem>/signedAudit
logger.info('Removing %s', self.log_signed_audit_dir)
pki.util.rmtree(self.log_signed_audit_dir, force=force)

# Remove /var/lib/pki/<instance>/logs/<subsystem>/archive
logger.info('Removing %s', self.log_archive_dir)
pki.util.rmtree(self.log_archive_dir, force=force)

# Remove /var/lib/pki/<instance>/logs/<subsystem>
logger.info('Removing %s', self.logs_dir)
pki.util.rmtree(self.logs_dir, force=force)
Expand Down

0 comments on commit fe6567d

Please sign in to comment.