Skip to content

Commit 6538c67

Browse files
committed
update to v1alpha2
1 parent 5021b33 commit 6538c67

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
@@ -284,7 +284,7 @@ pub fn build_airflow_statefulset_envs(
284284
Ok(transform_map_to_vec(env))
285285
}
286286

287-
fn construct_python_path(airflow: &v1alpha1::AirflowCluster) -> String {
287+
fn construct_python_path(airflow: &v1alpha2::AirflowCluster) -> String {
288288
let mut python_path = format!("{LOG_CONFIG_DIR}:");
289289
let symlinks = airflow.create_python_path_links();
290290
python_path.push_str(symlinks.join(":").as_str());
@@ -294,7 +294,7 @@ fn construct_python_path(airflow: &v1alpha1::AirflowCluster) -> String {
294294

295295
// This set of environment variables is a standard set that is not dependent on any
296296
// conditional logic and should be applied to the statefulset or the executor template config map.
297-
fn static_envs(airflow: &v1alpha1::AirflowCluster) -> BTreeMap<String, EnvVar> {
297+
fn static_envs(airflow: &v1alpha2::AirflowCluster) -> BTreeMap<String, EnvVar> {
298298
let mut env: BTreeMap<String, EnvVar> = BTreeMap::new();
299299

300300
env.insert(

0 commit comments

Comments
 (0)