mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-26 00:03:59 +00:00
ignore empty FORCE_WORKER_TAGS
This commit is contained in:
@@ -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!(
|
||||
|
||||
Reference in New Issue
Block a user