mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-19 16:02:14 +00:00
agent mode is ee
This commit is contained in:
@@ -105,6 +105,12 @@ async fn main() -> anyhow::Result<()> {
|
||||
if std::env::var("JOB_TOKEN").is_err() {
|
||||
tracing::warn!("JOB_TOKEN is not passed, hence workers will still create one ephemeral token per job and the DATABASE_URL need to be of a role that can INSERT into the token table")
|
||||
}
|
||||
|
||||
#[cfg(not(feature = "enterprise"))]
|
||||
{
|
||||
panic!("Agent mode is only available in the EE, ignoring...");
|
||||
}
|
||||
|
||||
Mode::Agent
|
||||
} else {
|
||||
if &x != "standalone" {
|
||||
|
||||
Reference in New Issue
Block a user