From ab9057aa0edef0ed1fe9fe75d2d7a01f18906de7 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Tue, 21 Jan 2025 16:24:50 +0100 Subject: [PATCH] fix: improve workspace specific tags behavior --- backend/windmill-common/src/worker.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/backend/windmill-common/src/worker.rs b/backend/windmill-common/src/worker.rs index 81c3537c8a..c95833726d 100644 --- a/backend/windmill-common/src/worker.rs +++ b/backend/windmill-common/src/worker.rs @@ -296,7 +296,12 @@ pub async fn reload_custom_tags_setting(db: &DB) -> error::Result<()> { let mut l = ALL_TAGS.write().await; *l = [ custom_tags.0.clone(), - custom_tags.1.keys().map(|x| x.to_string()).collect_vec(), + custom_tags + .1 + .values() + .flatten() + .map(|x| x.to_string()) + .collect_vec(), ] .concat(); }