Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Annotate dashboard and recommended monitors validation #9899

Merged
merged 13 commits into from
Sep 2, 2021
Prev Previous commit
Next Next commit
Fix style
  • Loading branch information
ChristineTChen committed Aug 30, 2021
commit 3d3f7b2bfe1bb6e009ba5de76198cf4231e9d693
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import json

import click

from datadog_checks.dev.utils import print_github_annotation

from ....utils import read_file
Expand Down Expand Up @@ -53,7 +54,7 @@ def dashboards(check):
message = f'{invalid} does not exist'
echo_info(f'{check_name}... ', nl=False)
echo_info(' FAILED')
echo_failure(f' ' + message)
echo_failure(' ' + message)
failed_checks += 1
print_github_annotation(manifest_file, message)

Expand All @@ -65,7 +66,7 @@ def dashboards(check):
message = f'invalid json: {e}'
echo_info(f'{check_name}... ', nl=False)
echo_failure(' FAILED')
echo_failure(f' ' + message)
echo_failure(' ' + message)
print_github_annotation(dashboard_file, message)
continue

Expand Down