Moved sys-opt-ssd-hdd to a callable version in svc-opt-ssd-hdd

This commit is contained in:
2025-07-12 11:42:25 +02:00
parent f2187e4bc0
commit c09dec8b0f
18 changed files with 48 additions and 40 deletions

View File

@@ -8,7 +8,7 @@ import sys
def load_optimizer_module():
module_path = os.path.abspath(os.path.join(
os.path.dirname(__file__),
'..', "..", "..","..",'roles', 'sys-opt-ssd-hdd', 'files', 'sys-opt-ssd-hdd.py'
'..', "..", "..","..",'roles', 'svc-opt-ssd-hdd', 'files', 'svc-opt-ssd-hdd.py'
))
spec = importlib.util.spec_from_file_location('storage_optimizer', module_path)
optimizer = importlib.util.module_from_spec(spec)