* [pdm-devel] [PATCH datacenter-manager] server: api: resources: fix subscription level for unknown remotes
@ 2025-10-14 9:53 Dominik Csapak
2025-10-16 22:18 ` [pdm-devel] applied: " Thomas Lamprecht
0 siblings, 1 reply; 2+ messages in thread
From: Dominik Csapak @ 2025-10-14 9:53 UTC (permalink / raw)
To: pdm-devel
remotes where all nodes have 'unknown' subscription level should be
'unknown' not 'mixed'.
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
server/src/api/resources.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/src/api/resources.rs b/server/src/api/resources.rs
index f4f56bcf..0a73c15b 100644
--- a/server/src/api/resources.rs
+++ b/server/src/api/resources.rs
@@ -623,7 +623,7 @@ fn map_node_subscription_list_to_state(
match (minimum, mixed) {
(SubscriptionLevel::None, _) => RemoteSubscriptionState::None,
- (SubscriptionLevel::Unknown, false) => RemoteSubscriptionState::Mixed,
+ (SubscriptionLevel::Unknown, false) => RemoteSubscriptionState::Unknown,
// treat unknown + active as active
(SubscriptionLevel::Unknown, true) => RemoteSubscriptionState::Active,
(_, true) => RemoteSubscriptionState::Mixed,
--
2.47.3
_______________________________________________
pdm-devel mailing list
pdm-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pdm-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-10-16 22:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-14 9:53 [pdm-devel] [PATCH datacenter-manager] server: api: resources: fix subscription level for unknown remotes Dominik Csapak
2025-10-16 22:18 ` [pdm-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.