From beee6c17a2f25230e97b9c6262c87c8cb9be3d2e Mon Sep 17 00:00:00 2001 From: John Baublitz Date: Mon, 28 Nov 2022 10:46:01 -0500 Subject: [PATCH] Bug fixes for D-Bus signals in v3.4.0 --- src/dbus_api/tree.rs | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/dbus_api/tree.rs b/src/dbus_api/tree.rs index 635b34f0ae..0ac0cd5f10 100644 --- a/src/dbus_api/tree.rs +++ b/src/dbus_api/tree.rs @@ -301,7 +301,7 @@ where consts::POOL_AVAIL_ACTIONS_PROP.to_string() => box_variant!(avail_prop.clone()) }, - consts::POOL_INTERFACE_NAME_3_3 => { + consts::POOL_INTERFACE_NAME_3_4 => { Vec::new(), consts::POOL_AVAIL_ACTIONS_PROP.to_string() => box_variant!(avail_prop) @@ -700,6 +700,11 @@ where box_variant!(user_info_prop.clone()) }, consts::POOL_INTERFACE_NAME_3_3 => { + Vec::new(), + consts::BLOCKDEV_USER_INFO_PROP.to_string() => + box_variant!(user_info_prop.clone()) + }, + consts::POOL_INTERFACE_NAME_3_4 => { Vec::new(), consts::BLOCKDEV_USER_INFO_PROP.to_string() => box_variant!(user_info_prop) @@ -846,6 +851,11 @@ where consts::BLOCKDEV_NEW_SIZE_PROP.to_string(), blockdev_new_size_to_prop, new_size + }, + consts::BLOCKDEV_INTERFACE_NAME_3_4 => { + consts::BLOCKDEV_NEW_SIZE_PROP.to_string(), + blockdev_new_size_to_prop, + new_size } ) }