From d9c451fe38f70c2d4c8415d58ce6a9b5c9d4f92f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Quentin=20Th=C3=A9bault?= Date: Thu, 26 Sep 2024 08:34:34 +0900 Subject: [PATCH] remove dead code --- iocage_lib/iocage.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/iocage_lib/iocage.py b/iocage_lib/iocage.py index 0d98b858..cce645f9 100644 --- a/iocage_lib/iocage.py +++ b/iocage_lib/iocage.py @@ -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(