Skip to content

Commit

Permalink
(minor) Remove extra newlines in o11y query helper (#31)
Browse files Browse the repository at this point in the history
Late review fixes for #30.
  • Loading branch information
sergiitk authored Feb 2, 2024
1 parent 49d4851 commit 835fcca
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/gamma/csm_observability_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,6 @@ def query_metrics(
A helper function to make the cloud monitoring API call to query
metrics created by this test run.
"""

# Based on default retry settings for list_time_series method:
# https://github.com/googleapis/google-cloud-python/blob/google-cloud-monitoring-v2.18.0/packages/google-cloud-monitoring/google/cloud/monitoring_v3/services/metric_service/transports/base.py#L210-L218
# Modified: predicate extended to retry on a wider range of error types.
Expand All @@ -420,7 +419,6 @@ def query_metrics(
),
deadline=90.0,
)

results = {}
for metric in metric_names:
logger.info("Requesting list_time_series for metric %s", metric)
Expand Down

0 comments on commit 835fcca

Please sign in to comment.