Skip to content

Commit

Permalink
Removed debug print statement
Browse files Browse the repository at this point in the history
  • Loading branch information
harryli0108 committed May 9, 2023
1 parent 0d67583 commit 9556936
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion src/containerapp/azext_containerapp/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
1 change: 1 addition & 0 deletions src/containerapp/azext_containerapp/custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9556936

Please sign in to comment.