Skip to content

Commit 28a38db

Browse files
committed
improved trace message
1 parent 9c7da94 commit 28a38db

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

  • deploy/helm/airflow-operator/crds
  • rust/operator-binary/src/crd

deploy/helm/airflow-operator/crds/crds.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ spec:
598598
properties:
599599
enabled:
600600
default: true
601-
description: 'Whether to execute the database initialization routines (a combination of database initialization, upgrade and migration depending on the Airflow version). Defaults to true to be (techincally) backwards-compatible but also safe. WARNING: setting this to false is *unsupported* as subsequent updates to the Airflow cluster may result in broken behaviour due to inconsistent metadata! Do not change the default unless you know what you are doing!'
601+
description: 'Whether to execute the database initialization routines (a combination of database initialization, upgrade and migration depending on the Airflow version). Defaults to true to be (technically) backwards-compatible but also safe. WARNING: setting this to false is *unsupported* as subsequent updates to the Airflow cluster may result in broken behaviour due to inconsistent metadata! Do not change the default unless you know what you are doing!'
602602
type: boolean
603603
type: object
604604
exposeConfig:

rust/operator-binary/src/crd/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ impl AirflowRole {
604604
}
605605
AirflowRole::Scheduler => {
606606
if airflow.spec.cluster_config.database_initialization.enabled {
607-
tracing::info!("Database initialization...");
607+
tracing::info!("Database initialization has been enabled.");
608608
command.extend(vec![
609609
"airflow db migrate".to_string(),
610610
"airflow users create \
@@ -645,7 +645,7 @@ impl AirflowRole {
645645
}
646646
AirflowRole::Scheduler => {
647647
if airflow.spec.cluster_config.database_initialization.enabled {
648-
tracing::info!("Database initialization...");
648+
tracing::info!("Database initialization has been enabled.");
649649
command.extend(vec![
650650
// Database initialization is limited to the scheduler, see https://github.com/stackabletech/airflow-operator/issues/259
651651
"airflow db init".to_string(),

0 commit comments

Comments
 (0)