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

feat: call line_reports from Loki #4260

Merged
merged 2 commits into from
Apr 23, 2024
Merged

feat: call line_reports from Loki #4260

merged 2 commits into from
Apr 23, 2024

Conversation

datanel
Copy link
Member

@datanel datanel commented Apr 5, 2024

@datanel datanel force-pushed the loki/line_reports branch from b1299e6 to 69535a5 Compare April 22, 2024 14:51
@datanel datanel requested a review from pbench April 22, 2024 15:53
Comment on lines +126 to +129
req.line_reports.object_type = request_pb2.LineReportsRequest.Type.Value(
request['filter']['object_type']
)
req.line_reports.object_id = request['filter']['object_id']
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe check that that request['filter'] is a dict that have the attributes 'object_type' and 'object_id'.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
26.7% Coverage on New Code (required ≥ 60%)

See analysis details on SonarCloud

@datanel datanel merged commit bc64c6b into dev Apr 23, 2024
8 of 9 checks passed
@datanel datanel deleted the loki/line_reports branch April 23, 2024 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants