mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-09 00:04:10 +00:00
handle schedule with empty tags
This commit is contained in:
@@ -152,7 +152,11 @@ pub async fn push_scheduled_job<'c, R: rsmq_async::RsmqConnection + Send + 'c>(
|
||||
language,
|
||||
priority,
|
||||
},
|
||||
schedule.tag.or(tag),
|
||||
if schedule.tag.as_ref().is_some_and(|x| x != "") {
|
||||
schedule.tag
|
||||
} else {
|
||||
tag
|
||||
},
|
||||
timeout,
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user