From a3432c1c0df45040ff76f9790094ae17fb3d5d92 Mon Sep 17 00:00:00 2001 From: Qinkai Wu Date: Thu, 29 May 2025 13:35:26 +0800 Subject: [PATCH] Fix incorrect _get_message and _get_tag in MergedStatusTag --- src/azure-cli-core/azure/cli/core/breaking_change.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/azure-cli-core/azure/cli/core/breaking_change.py b/src/azure-cli-core/azure/cli/core/breaking_change.py index e8c23fbb490..119784e7730 100644 --- a/src/azure-cli-core/azure/cli/core/breaking_change.py +++ b/src/azure-cli-core/azure/cli/core/breaking_change.py @@ -106,10 +106,10 @@ def __init__(self, cli_ctx, *tags): self.tags = list(tags) def _get_merged_tag(self): - return ''.join({tag._get_tag(self) for tag in self.tags}) # pylint: disable=protected-access + return ''.join({tag._get_tag(tag) for tag in self.tags}) # pylint: disable=protected-access def _get_merged_msg(self): - return '\n'.join({tag._get_message(self) for tag in self.tags}) # pylint: disable=protected-access + return '\n'.join({tag._get_message(tag) for tag in self.tags}) # pylint: disable=protected-access super().__init__(cli_ctx, tag.object_type, tag.target, tag_func=_get_merged_tag, message_func=_get_merged_msg, color=tag._color)