Skip to content

Commit fd43fb8

Browse files
authored
Update cloud-init.sh
1 parent 1065677 commit fd43fb8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

files/cloud-init.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,13 +97,9 @@ EOL
9797
source /etc/environment
9898

9999
if [ "$AIRFLOW__CORE__LOAD_DEFAULTS" = false ]; then
100-
if [ "$AIRFLOW_ROLE" == "WEBSERVER" ]; then
101100
airflow upgradedb
102-
fi
103101
else
104-
if [ "$AIRFLOW_ROLE" == "WEBSERVER" ]; then
105102
airflow initdb
106-
fi
107103
fi
108104

109105
if [ "$AIRFLOW__WEBSERVER__RBAC" = true ]; then

0 commit comments

Comments
 (0)