mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-18 21:50:37 +00:00
Various fixups:
- Use u32 for correct parameter formatting in pageserver mgmt API client - Use a correctly formatted PgVersionId (not: PgMajorVersion) in test_branching.py - Add some documentation on postgres_versioninfo::PgVersionId
This commit is contained in:
@@ -749,6 +749,8 @@ impl Client {
|
||||
pg_version: PgMajorVersion,
|
||||
basebackup_tarball: ReqwestBody,
|
||||
) -> Result<()> {
|
||||
let pg_version = pg_version.major_version_num();
|
||||
|
||||
let uri = format!(
|
||||
"{}/v1/tenant/{tenant_id}/timeline/{timeline_id}/import_basebackup?base_lsn={base_lsn}&end_lsn={end_lsn}&pg_version={pg_version}",
|
||||
self.mgmt_api_endpoint,
|
||||
|
||||
Reference in New Issue
Block a user