ignore empty FORCE_WORKER_TAGS

This commit is contained in:
Ruben Fiszel
2024-08-20 17:03:59 +02:00
parent 7e1f28071a
commit 4f00120d2b
+1
View File
@@ -573,6 +573,7 @@ pub async fn load_worker_config(
if let Some(force_worker_tags) = std::env::var("FORCE_WORKER_TAGS")
.ok()
.filter(|x| !x.is_empty())
.map(|x| x.split(',').map(|x| x.to_string()).collect::<Vec<String>>())
{
tracing::info!(