Skip to content

Commit 23fd0c0

Browse files
committed
Fix style
1 parent 68d2220 commit 23fd0c0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/azure-cli/azure/cli/command_modules/role/_help.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
long-summary: >-
2626
**IMPORTANT**: The `az ad app create` command can modify an existing application or service principal if
2727
another object shares the same **display name**. Display names aren't unique and can change, which
28-
could result in credential loss or incorrect RBAC assignments. Use a **unique object ID or app ID** instead.
28+
could result in credential loss or incorrect RBAC assignments. Use a **unique object ID or app ID** instead.
2929
For more details, see https://go.microsoft.com/fwlink/?linkid=2342455.
3030
3131

src/azure-cli/azure/cli/command_modules/role/custom.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -605,11 +605,11 @@ def create_application(cmd, client, display_name, identifier_uris=None,
605605
app_roles=None, optional_claims=None, required_resource_accesses=None):
606606
# pylint:disable=too-many-locals
607607

608-
logger.warning(f"The `az {cmd.name}` command can modify an existing application or service principal "
608+
logger.warning("The `az %s` command can modify an existing application or service principal "
609609
"if another object shares the same display name. Display names aren't unique and can change, "
610610
"which could result in credential loss or incorrect RBAC assignments. "
611611
"Use a unique object ID or app ID instead. For more details, "
612-
"see https://go.microsoft.com/fwlink/?linkid=2342455.")
612+
"see https://go.microsoft.com/fwlink/?linkid=2342455.", cmd.name)
613613

614614
graph_client = _graph_client_factory(cmd.cli_ctx)
615615

0 commit comments

Comments
 (0)