all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [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

* [pdm-devel] applied: [PATCH datacenter-manager] server: api: resources: fix subscription level for unknown remotes
  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 ` Thomas Lamprecht
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2025-10-16 22:18 UTC (permalink / raw)
  To: pdm-devel, Dominik Csapak

On Tue, 14 Oct 2025 11:53:27 +0200, Dominik Csapak wrote:
> remotes where all nodes have 'unknown' subscription level should be
> 'unknown' not 'mixed'.
> 
> 

Applied, thanks!

[1/1] server: api: resources: fix subscription level for unknown remotes
      commit: 7addec20f615c4146ac1d433a73b08ec662613d8


_______________________________________________
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.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal