* [pbs-devel] [PATCH proxmox] client: do a POST instead of PUT in `post_without_body`
@ 2024-01-03 14:04 Lukas Wagner
2024-01-04 7:15 ` [pbs-devel] applied: " Wolfgang Bumiller
0 siblings, 1 reply; 2+ messages in thread
From: Lukas Wagner @ 2024-01-03 14:04 UTC (permalink / raw)
To: pbs-devel; +Cc: w.bumiller, Lukas Wagner
Probably a copy-paste mistake.
Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
---
proxmox-client/src/client.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/proxmox-client/src/client.rs b/proxmox-client/src/client.rs
index bd8d45c..5a75f01 100644
--- a/proxmox-client/src/client.rs
+++ b/proxmox-client/src/client.rs
@@ -414,7 +414,7 @@ impl HttpApiClient for Client {
let auth = self.login_auth()?;
let uri = self.build_uri(path_and_query)?;
let client = Arc::clone(&self.client);
- Self::authenticated_request(client, auth, http::Method::PUT, uri, None).await
+ Self::authenticated_request(client, auth, http::Method::POST, uri, None).await
})
}
--
2.39.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* [pbs-devel] applied: [PATCH proxmox] client: do a POST instead of PUT in `post_without_body`
2024-01-03 14:04 [pbs-devel] [PATCH proxmox] client: do a POST instead of PUT in `post_without_body` Lukas Wagner
@ 2024-01-04 7:15 ` Wolfgang Bumiller
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Bumiller @ 2024-01-04 7:15 UTC (permalink / raw)
To: Lukas Wagner; +Cc: pbs-devel
applied, thanks
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-01-04 7:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-03 14:04 [pbs-devel] [PATCH proxmox] client: do a POST instead of PUT in `post_without_body` Lukas Wagner
2024-01-04 7:15 ` [pbs-devel] applied: " Wolfgang Bumiller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal