Skip to content

Commit cf8b245

Browse files
committed
making pre-commit happy again
1 parent c2b6e44 commit cf8b245

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

rust/operator-binary/src/env_vars.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,11 +286,11 @@ pub fn build_airflow_statefulset_envs(
286286

287287
// contains absolute path to git-sync folder and log config.
288288
fn construct_python_path(airflow: &v1alpha2::AirflowCluster) -> String {
289-
let mut python_path = format!("{LOG_CONFIG_DIR}");
289+
let mut python_path = LOG_CONFIG_DIR.to_string();
290290
let symlinks = airflow.get_gitsync_absolute_paths();
291291
// append `:` only of there are git-sync entries.
292292
if !symlinks.is_empty() {
293-
python_path.push_str(":");
293+
python_path.push(':');
294294
python_path.push_str(symlinks.join(":").as_str());
295295
}
296296

0 commit comments

Comments
 (0)