From 99a981c9b4a53597020a30503e028ecc554b4d68 Mon Sep 17 00:00:00 2001 From: Jennifer Davis Date: Wed, 9 Nov 2022 14:53:48 -0800 Subject: [PATCH] fix: remove duplicate variable declaration (#503) Co-authored-by: minherz --- samples/snippets/v3/cloud-client/snippets.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/samples/snippets/v3/cloud-client/snippets.py b/samples/snippets/v3/cloud-client/snippets.py index aa9eae62..d1e70f51 100644 --- a/samples/snippets/v3/cloud-client/snippets.py +++ b/samples/snippets/v3/cloud-client/snippets.py @@ -89,8 +89,6 @@ def list_time_series(project_id): client = monitoring_v3.MetricServiceClient() project_name = f"projects/{project_id}" - interval = monitoring_v3.TimeInterval() - now = time.time() seconds = int(now) nanos = int((now - seconds) * 10 ** 9)