Removed the premade actions because they were empty anyway

This commit is contained in:
2026-07-27 18:21:30 +01:00
parent d130722390
commit 61d5333ec1
2 changed files with 3 additions and 32 deletions
+3 -2
View File
@@ -14,6 +14,9 @@ from typing import List, Dict, Any, Tuple
# we can create a class for this I reckon
restic = ActionRegistry("restic_actions_reg")
def parse_output(line: str) -> List[Dict[str, Any]]:
errors = []
for line in line.split('\n'):
@@ -70,8 +73,6 @@ def run_restic_command(cmd: List[str]) -> Tuple[int, List[Dict[str, Any]]]:
returncode = process.wait()
return returncode, parsed_json
restic = ActionRegistry("restic_actions_reg")
@restic.register(name="check_restic_environment", version="")
def check_restic_environment(ctx, name: str = "") -> StepLog: