Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
xfz11 committed Jan 13, 2025
1 parent 5cad989 commit 4fb7323
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 +977,10 @@ def validate_service_state(linker_parameters):
return
redis = run_cli_cmd('az redis show --ids "{}"'.format(target_id))
if redis.get('redisConfiguration', {}).get('aadEnabled', 'False') != "True":
raise ValidationError('Please enable Microsoft Entra Authentication on your Redis first. Note that it will cause your cache instances to reboot to load new configuration and result in a failover. Consider performing the operation during low traffic or outside of business hours.')
raise ValidationError('Please enable Microsoft Entra Authentication on your Redis first. '
'Note that it will cause your cache instances to reboot to load new '
'configuration and result in a failover. Consider performing the '
'operation during low traffic or outside of business hours.')


def get_default_object_id_of_current_user(cmd, namespace): # pylint: disable=unused-argument
Expand Down

0 comments on commit 4fb7323

Please sign in to comment.