Skip to content

Commit

Permalink
remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
Defenso-QTH committed Sep 25, 2024
1 parent 7ba976c commit d9c451f
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions iocage_lib/iocage.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,18 +390,6 @@ def activate(self, zpool, prefix=''):
else:
pool.deactivate_pool()

def deactivate(self, zpool):
zpool = Pool(zpool, cache=False)
if not zpool.exists:
ioc_common.logit(
{
'level': 'EXCEPTION',
'message': f'ZFS pool "{zpool}" not found!'
},
_callback=self.callback,
silent=self.silent)
zpool.deactivate_pool()

def chroot(self, command):
"""Deprecated: Chroots into a jail and runs a command, or the shell."""
ioc_common.logit(
Expand Down

0 comments on commit d9c451f

Please sign in to comment.