Trivial: COS test fix typo
Signed-off-by: Peter Sabaini <peter.sabaini@canonical.com>
This commit is contained in:
@@ -119,7 +119,7 @@ def get_prom_api_url(grafana_agent):
|
||||
)
|
||||
ga = yaml.safe_load(ga_yaml)
|
||||
url = ga['integrations']['prometheus_remote_write'][0]['url']
|
||||
if url.ensdwith("/write"):
|
||||
if url.endswith("/write"):
|
||||
url = url[:-6] # lob off the /write
|
||||
return url
|
||||
|
||||
|
||||
Reference in New Issue
Block a user