Skip to content

Commit

Permalink
{Graph} Remove the warning for Microsoft Graph migration (#22612)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiasli authored Jun 3, 2022
1 parent 1793c03 commit b471cca
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/azure-cli/azure/cli/command_modules/role/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@ def __init__(self, cli_ctx=None):
custom_command_type=role_custom)

def load_command_table(self, args):
if args and args[0] in ('role', 'ad'):
from knack.log import get_logger
logger = get_logger(__name__)
logger.warning("This command or command group has been migrated to Microsoft Graph API. "
"Please carefully review all breaking changes introduced during this migration: "
"https://docs.microsoft.com/cli/azure/microsoft-graph-migration")
from azure.cli.command_modules.role.commands import load_command_table
load_command_table(self, args)
return self.command_table
Expand Down

0 comments on commit b471cca

Please sign in to comment.