mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-07 13:32:57 +00:00
change HTTP method to comply with spec (#9100)
There is discrepancy with the spec, it has PUT
This commit is contained in:
@@ -631,7 +631,7 @@ class PageserverHttpClient(requests.Session, MetricsGetter):
|
||||
log.info(
|
||||
f"requesting timeline archival config {config} for tenant {tenant_id} and timeline {timeline_id}"
|
||||
)
|
||||
res = self.post(
|
||||
res = self.put(
|
||||
f"http://localhost:{self.port}/v1/tenant/{tenant_id}/timeline/{timeline_id}/archival_config",
|
||||
json=config,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user