chore: remove warnings

This commit is contained in:
Ruben Fiszel
2024-02-18 14:03:00 +01:00
parent a61936f66f
commit 77aaf2724c
16 changed files with 206 additions and 400 deletions
+6 -2
View File
@@ -33,8 +33,12 @@ use windmill_common::{
stats::schedule_stats,
utils::{rd_string, Mode},
worker::{reload_custom_tags_setting, WORKER_GROUP},
DB, METRICS_ADDR, METRICS_ENABLED,
DB, METRICS_ENABLED,
};
#[cfg(feature = "enterprise")]
use windmill_common::METRICS_ADDR;
use windmill_worker::{
BUN_CACHE_DIR, BUN_TMP_CACHE_DIR, DENO_CACHE_DIR, DENO_CACHE_DIR_DEPS, DENO_CACHE_DIR_NPM,
DENO_TMP_CACHE_DIR, DENO_TMP_CACHE_DIR_DEPS, DENO_TMP_CACHE_DIR_NPM, GO_BIN_CACHE_DIR,
@@ -140,7 +144,7 @@ async fn windmill_main() -> anyhow::Result<()> {
{
panic!("Agent mode is only available in the EE, ignoring...");
}
#[cfg(feature = "enterprise")]
Mode::Agent
} else {
if &x != "standalone" {