From 95569363578925fdfe7789f8a8d7d97b164cadc1 Mon Sep 17 00:00:00 2001 From: harrli Date: Tue, 9 May 2023 14:09:08 -0700 Subject: [PATCH] Removed debug print statement --- src/containerapp/azext_containerapp/_utils.py | 1 - src/containerapp/azext_containerapp/custom.py | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/containerapp/azext_containerapp/_utils.py b/src/containerapp/azext_containerapp/_utils.py index ae495d891b7..cadc1074304 100644 --- a/src/containerapp/azext_containerapp/_utils.py +++ b/src/containerapp/azext_containerapp/_utils.py @@ -1816,7 +1816,6 @@ def patchableCheck(repoTagSplit: str, oryxBuilderRunImgTags, bom): "targetImageName": bom["image_name"], "oldRunImage": tagProp["fullTag"], } - print((tagProp["version"].micro < matchingVersionInfo[0]["version"].micro)) if (tagProp["version"].minor == matchingVersionInfo[0]["version"].minor) and (tagProp["version"].micro < matchingVersionInfo[0]["version"].micro): # Patchable result["newRunImage"] = "mcr.microsoft.com/oryx/builder:" + matchingVersionInfo[0]["fullTag"] diff --git a/src/containerapp/azext_containerapp/custom.py b/src/containerapp/azext_containerapp/custom.py index 3d72cc6faf7..7b92c944932 100644 --- a/src/containerapp/azext_containerapp/custom.py +++ b/src/containerapp/azext_containerapp/custom.py @@ -4422,6 +4422,7 @@ def patch_apply(cmd, patchCheckList, method, resource_group_name): patchCheckList[method]["revisionMode"])) else: print("Invalid patch method or id.") + return results def patch_cli_call(cmd, resource_group, container_app_name, container_name, target_image_name, new_run_image, revision_mode): try: