Skip to content

Commit

Permalink
Fix getting status
Browse files Browse the repository at this point in the history
  • Loading branch information
webjunkie committed Nov 17, 2023
1 parent 15fe236 commit 9c9bcb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion posthog/api/instance_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def list(self, request: Request) -> Response:
}
)
if postgres_alive:
postgres_version = connection.cursor().connection.server_version
postgres_version = connection.cursor().connection.info.server_version
metrics.append(
{
"key": "pg_version",
Expand Down

0 comments on commit 9c9bcb4

Please sign in to comment.