Skip to content

Commit

Permalink
{spring} Fix disallowed html tag (#8305)
Browse files Browse the repository at this point in the history
* fix disallowed-html-tag lint
  • Loading branch information
cxznmhdcxz authored Dec 4, 2024
1 parent 365519d commit 03bda54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/spring/azext_spring/_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@

helps['spring app deployment'] = """
type: group
short-summary: Commands to manage life cycle of deployments of an app in Azure Spring Apps. More operations on deployments can be done on app level with parameter --deployment. e.g. az spring app deploy --deployment <staging deployment>
short-summary: Commands to manage life cycle of deployments of an app in Azure Spring Apps. More operations on deployments can be done on app level with parameter --deployment. e.g. `az spring app deploy --deployment <staging deployment>`
"""

helps['spring app deployment list'] = """
Expand Down
4 changes: 2 additions & 2 deletions src/spring/azext_spring/_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
validator=validate_env, help="Space-separated environment variables in 'key[=value]' format.", nargs='*')
build_env_type = CLIArgumentType(
validator=validate_build_env, help="Space-separated environment variables in 'key[=value]' format.", nargs='*')
service_name_type = CLIArgumentType(options_list=['--service', '-s'], help='The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=<name>.', configured_default='spring')
service_name_type = CLIArgumentType(options_list=['--service', '-s'], help='The name of Azure Spring Apps instance, you can configure the default service using `az configure --defaults spring=<name>`.', configured_default='spring')
app_name_type = CLIArgumentType(help='App name, you can configure the default app using az configure --defaults spring-cloud-app=<name>.', validator=validate_app_name, configured_default='spring-app')
sku_type = CLIArgumentType(arg_type=get_enum_type(['Basic', 'Standard', 'Enterprise', 'StandardGen2']), help='Name of SKU.')
source_path_type = CLIArgumentType(nargs='?', const='.',
Expand Down Expand Up @@ -642,7 +642,7 @@ def prepare_logs_argument(c):
c.argument('scale_rule_metadata', nargs="+", options_list=['--scale-rule-metadata', '--srm'],
help='Scale rule metadata. Format "key[=value]" and separated by space.')
c.argument('scale_rule_auth', nargs="+", options_list=['--scale-rule-auth', '--sra'],
help='Scale rule auth parameters. Format "<triggerParameter>=<secretRef>" and separated by space.')
help='Scale rule auth parameters. Format `<triggerParameter>=<secretRef>` and separated by space.')

with self.argument_context('spring app deployment') as c:
c.argument('app', app_name_type, help='Name of app.',
Expand Down

0 comments on commit 03bda54

Please sign in to comment.