Skip to content

Commit

Permalink
fix: set version only and let pg_wrapper figure our the relevant cluster
Browse files Browse the repository at this point in the history
Signed-off-by: F.N. Claessen <felix@seita.nl>
  • Loading branch information
Flix6x committed Dec 19, 2023
1 parent efe5539 commit ba4859a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flexmeasures/cli/db_ops.py
Expand Up @@ -161,7 +161,7 @@ def pg_cluster_arg_from_version(pg_version: str | None) -> str:
More info (e.g. on the format) at https://manpages.ubuntu.com/manpages/trusty/man1/pg_wrapper.1.html
"""
if pg_version:
return f"--cluster {pg_version}/main"
return f"--version {pg_version}"
return ""


Expand Down

0 comments on commit ba4859a

Please sign in to comment.