mirror of
https://github.com/valitydev/grafanalib.git
synced 2024-11-06 10:15:24 +00:00
Correct URL for Grafana API
This commit is contained in:
parent
1cd5e11b43
commit
b447c507a1
@ -59,7 +59,7 @@ class GrafanaAPI(object):
|
||||
|
||||
def update_datasource(self, data_source):
|
||||
return self._get_session().post(
|
||||
'/'.join([self.base_url, 'datasource']),
|
||||
'/'.join([self.base_url, 'datasources']),
|
||||
json=data_source.to_json_dict())
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user