Skip to content

Commit

Permalink
remoev unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
wconti27 committed Jul 12, 2023
1 parent cbf054b commit e192665
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions ddapm_test_agent/checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,17 +211,6 @@ async def check(self, name: str, *args: Any, **kwargs: Any) -> None:
else:
check.check(*args, **kwargs)

def get_check_results(self) -> Dict[str, Dict[str, int]]:
results: Dict[str, Dict[str, int]] = {}
for c in self.checks:
if hasattr(c, "passed_checks"):
results[c.name] = {
"passed_checks": c.passed_checks,
"failed_checks": c.failed_checks,
"skipped_checks": c.skipped_checks,
}
return results


def start_trace(msg: str) -> CheckTrace:
trace = CheckTrace(CheckTraceFrame(name=msg))
Expand Down

0 comments on commit e192665

Please sign in to comment.