* [yew-devel] [PATCH yew-comp] pending_property_view: rename QemuPendingConfigValue to PendingConfigValue
@ 2025-11-26 10:41 Hannes Laimer
2025-11-26 20:54 ` [yew-devel] applied: " Thomas Lamprecht
0 siblings, 1 reply; 2+ messages in thread
From: Hannes Laimer @ 2025-11-26 10:41 UTC (permalink / raw)
To: yew-devel
Adapt to the renaming in pve-api-types [1].
[1] c0d8370 ("pve-api-types: rename QemuPendingConfigValue to PendingConfigValue")
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com>
---
src/pending_property_view/mod.rs | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/pending_property_view/mod.rs b/src/pending_property_view/mod.rs
index 2747bc5..e10d99b 100644
--- a/src/pending_property_view/mod.rs
+++ b/src/pending_property_view/mod.rs
@@ -22,7 +22,7 @@ use pwt::AsyncAbortGuard;
use pwt::{prelude::*, AsyncPool};
use crate::{http_get_full, ApiLoadCallback, EditableProperty, PropertyEditDialog};
-use pve_api_types::QemuPendingConfigValue;
+use pve_api_types::PendingConfigValue;
/// Pending configuration data
///
@@ -45,7 +45,7 @@ impl PvePendingConfiguration {
}
}
- pub fn from_config_array(data: Vec<QemuPendingConfigValue>) -> Self {
+ pub fn from_config_array(data: Vec<PendingConfigValue>) -> Self {
let (current, pending, keys) = pve_pending_config_array_to_objects(data);
Self {
current,
@@ -77,7 +77,7 @@ pub fn pending_typed_load<T: DeserializeOwned + Serialize>(
/// Note: PVE API sometime return numbers as string, and bool as 1/0
pub fn pve_pending_config_array_to_objects_typed<T: DeserializeOwned + Serialize>(
- data: Vec<QemuPendingConfigValue>,
+ data: Vec<PendingConfigValue>,
) -> Result<PvePendingConfiguration, Error> {
let (current, pending, keys) = pve_pending_config_array_to_objects(data);
@@ -376,7 +376,7 @@ pub fn render_pending_property_value(
/// Returns 2 Objects, containing current and pending configuration,
/// and the set of contained configuration keys.
pub fn pve_pending_config_array_to_objects(
- data: Vec<QemuPendingConfigValue>,
+ data: Vec<PendingConfigValue>,
) -> (Value, Value, HashSet<String>) {
let mut current = serde_json::Map::new();
let mut pending = serde_json::Map::new();
--
2.47.3
_______________________________________________
yew-devel mailing list
yew-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/yew-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* [yew-devel] applied: [PATCH yew-comp] pending_property_view: rename QemuPendingConfigValue to PendingConfigValue
2025-11-26 10:41 [yew-devel] [PATCH yew-comp] pending_property_view: rename QemuPendingConfigValue to PendingConfigValue Hannes Laimer
@ 2025-11-26 20:54 ` Thomas Lamprecht
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2025-11-26 20:54 UTC (permalink / raw)
To: yew-devel, Hannes Laimer
On Wed, 26 Nov 2025 11:41:52 +0100, Hannes Laimer wrote:
> Adapt to the renaming in pve-api-types [1].
>
> [1] c0d8370 ("pve-api-types: rename QemuPendingConfigValue to PendingConfigValue")
>
>
Applied, thanks!
[1/1] pending_property_view: rename QemuPendingConfigValue to PendingConfigValue
commit: 5d1712062a39a9dcf339609bba48aeb788899978
_______________________________________________
yew-devel mailing list
yew-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/yew-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-11-26 20:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-26 10:41 [yew-devel] [PATCH yew-comp] pending_property_view: rename QemuPendingConfigValue to PendingConfigValue Hannes Laimer
2025-11-26 20:54 ` [yew-devel] applied: " Thomas Lamprecht
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.