diff --git a/rust/agama-lib/src/network/client.rs b/rust/agama-lib/src/network/client.rs index 44dcbfee98..b48c79f6fd 100644 --- a/rust/agama-lib/src/network/client.rs +++ b/rust/agama-lib/src/network/client.rs @@ -84,7 +84,7 @@ impl NetworkClient { // trying to be tricky here. If something breaks then we need a put method on // BaseHTTPClient which doesn't require a serialiable object for the body self.client - .put_void(&format!("/network/system/apply").as_str(), &()) + .post_void(&format!("/network/system/apply").as_str(), &()) .await?; Ok(()) diff --git a/rust/package/agama.changes b/rust/package/agama.changes index a57c734fcb..cff140ecc7 100644 --- a/rust/package/agama.changes +++ b/rust/package/agama.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Oct 28 09:24:48 UTC 2024 - Imobach Gonzalez Sosa + +- Use the correct method to apply the network configuration from + the CLI (gh#agama-project/agama#1701). + ------------------------------------------------------------------- Wed Oct 23 15:25:36 UTC 2024 - Imobach Gonzalez Sosa