Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{spring} Fix disallowed html tag summary #8305

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading