Skip to content

Commit

Permalink
Fix property name in breeze Shell Params (#23696)
Browse files Browse the repository at this point in the history
The rename from #23562 missed few shell_parms usage where it
also should be replaced.

(cherry picked from commit 4afa8e3)
  • Loading branch information
potiuk committed May 19, 2022
1 parent d07392f commit eb49d31
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions dev/breeze/src/airflow_breeze/params/shell_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,12 @@ def enabled_integrations(self) -> str:
return enabled_integration

@property
def the_image_type(self) -> str:
the_image_type = 'CI'
return the_image_type
def image_type(self) -> str:
return 'CI'

@property
def md5sum_cache_dir(self) -> Path:
cache_dir = Path(BUILD_CACHE_DIR, self.airflow_branch, self.python, self.the_image_type)
cache_dir = Path(BUILD_CACHE_DIR, self.airflow_branch, self.python, self.image_type)
return cache_dir

@property
Expand All @@ -158,7 +157,7 @@ def sqlite_url(self) -> str:

def print_badge_info(self):
if self.verbose:
get_console().print(f'[info]Use {self.the_image_type} image[/]')
get_console().print(f'[info]Use {self.image_type} image[/]')
get_console().print(f'[info]Branch Name: {self.airflow_branch}[/]')
get_console().print(f'[info]Docker Image: {self.airflow_image_name_with_tag}[/]')
get_console().print(f'[info]Airflow source version:{self.airflow_version}[/]')
Expand Down

0 comments on commit eb49d31

Please sign in to comment.