From 3fa39623728860ba20ebb0e283b99f603a97c1fe Mon Sep 17 00:00:00 2001 From: smokestacklightnin <125844868+smokestacklightnin@users.noreply.github.com> Date: Sun, 17 Nov 2024 19:02:59 -0800 Subject: [PATCH] Remove unnecessary default value --- src/_nebari/upgrade.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/_nebari/upgrade.py b/src/_nebari/upgrade.py index d8d25a105..c56278a29 100644 --- a/src/_nebari/upgrade.py +++ b/src/_nebari/upgrade.py @@ -308,10 +308,7 @@ def replace_image_tag_legacy( return None def replace_image_tag( - s: str, - new_version: str, - config_path: str, - attempt_fixes: bool = kwargs.get("attempt_fixes", False), + s: str, new_version: str, config_path: str, attempt_fixes: bool ) -> str: """ Replace the image tag with the new version. @@ -373,7 +370,7 @@ def update_image_tag( config_path: str, current_image: str, new_version: str, - attempt_fixes: bool = kwargs.get("attempt_fixes", False), + attempt_fixes: bool, ) -> dict: """ Update the image tag in the configuration.