Skip to content

Commit

Permalink
Revert "check for dir back"
Browse files Browse the repository at this point in the history
This reverts commit 1092abe.

Signed-off-by: Matthias Büchse <[email protected]>
  • Loading branch information
mbuechse committed Nov 8, 2024
1 parent 24760a7 commit 546c89d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Tests/kaas/k8s-default-storage-class/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import sys
import logging
from kubernetes import client, config
import os

manual_result_file_template = {
"name": None,
Expand Down Expand Up @@ -71,8 +70,5 @@ def gen_sonobuoy_result_file(error_n: int, error_msg: str, test_file_name: str):
result_file["status"] = test_status
result_file["details"]["messages"] = error_msg

directory_path = os.path.dirname(f"./{test_name}.result.yaml")
os.makedirs(directory_path, exist_ok=True)

with open(f"./{test_name}.result.yaml", "w") as file:
yaml.dump(result_file, file)

0 comments on commit 546c89d

Please sign in to comment.