mirror of
https://github.com/grafana/grafana.git
synced 2024-12-01 13:09:22 -06:00
196134b0b4
Storage Server: avoid incorrect parsing of connection string In storage server, a connection string is generated to connect to the backing database. In case of Postgres, we were generating the string like `"user=grafana pass= host=postgres.example port=4567"`. This triggered an edge case in `pq` (the go postgres driver) to parse `pass` to be equal to `host=postgres.example`, and host being reset to default value. Using single quotes in the connection string fixed this. Signed-off-by: Prem Kumar <prem.saraswat@grafana.com> |
||
---|---|---|
.. | ||
launch.json |