From ad3cd8f5dd9b20d52632c02688bfcf9acd03a239 Mon Sep 17 00:00:00 2001 From: Michael Derynck Date: Thu, 1 Dec 2022 17:35:53 +0000 Subject: [PATCH] Remove unused call for checking gcom api keys (#931) --- engine/apps/grafana_plugin/helpers/client.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/engine/apps/grafana_plugin/helpers/client.py b/engine/apps/grafana_plugin/helpers/client.py index d5257faa..9244a1ce 100644 --- a/engine/apps/grafana_plugin/helpers/client.py +++ b/engine/apps/grafana_plugin/helpers/client.py @@ -190,9 +190,6 @@ class GcomAPIClient(APIClient): def __init__(self, api_token: str): super().__init__(settings.GRAFANA_COM_API_URL, api_token) - def check_token(self): - return self.api_post("api-keys/check", {"token": self.api_token}) - def get_instance_info(self, stack_id: str) -> Optional[GCOMInstanceInfo]: data, _ = self.api_get(f"instances/{stack_id}?config=true") return data