Skip to content

Commit

Permalink
Minor fix for set correct url for cluster version #176
Browse files Browse the repository at this point in the history
  • Loading branch information
LeaveMyYard committed Jan 10, 2024
1 parent 33d7336 commit 189f330
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ def find_metrics_url(self, *, api_client: Optional[ApiClient] = None) -> Optiona
"app=vmselect",
]
)
url = f"{url}/select/0/prometheus/"
if url is not None:
url = f"{url}/select/0/prometheus/"
return url


Expand Down

0 comments on commit 189f330

Please sign in to comment.