Skip to content

Commit 4f40e46

Browse files
committed
Fix compilation error
1 parent 0cae22c commit 4f40e46

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

backend/windmill-worker/src/python_executor.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,15 +142,14 @@ pub async fn uv_pip_compile(
142142
};
143143

144144
#[cfg(feature = "enterprise")]
145-
let mut requirements = replace_pip_secret(db, w_id, &requirements, worker_name, job_id).await?;
145+
requirements = replace_pip_secret(db, w_id, &requirements, worker_name, job_id).await?;
146146

147147
if no_uv || *USE_PIP_COMPILE {
148148
no_uv = true;
149149
// We want to make sure that when we specify `no_uv` lockfile will be resolved again
150150
requirements.push_str("\n#no_uv");
151151
}
152152

153-
154153
let req_hash = format!("py-{}", calculate_hash(&requirements));
155154
if let Some(cached) = sqlx::query_scalar!(
156155
"SELECT lockfile FROM pip_resolution_cache WHERE hash = $1",

0 commit comments

Comments
 (0)