mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-25 13:31:27 +00:00
fix: delete bad code
This commit is contained in:
parent
01e30b96b2
commit
f96c9c2aea
|
@ -41,9 +41,7 @@ class PrometheusQueries:
|
|||
|
||||
params = {"query": query, "start": start, "end": end, "step": 60}
|
||||
|
||||
return PrometheusClient._send_request(
|
||||
endpoint="/api/v1/query_range", params=params
|
||||
)
|
||||
return self._send_request(params=params)
|
||||
|
||||
@staticmethod
|
||||
def disks_usage(): ...
|
||||
|
|
Loading…
Reference in a new issue