Skip to content

Commit d0edfa6

Browse files
committed
fix: cli linter error
1 parent 5801b92 commit d0edfa6

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5576,11 +5576,6 @@
55765576
text: |
55775577
az network vpn-connection create --local-gateway2 MyLocalGateway --location westus2 --name MyConnection --resource-group MyResourceGroup --shared-key Abc123 --vnet-gateway1 MyVnetGateway
55785578
crafted: true
5579-
- name: Create a VPN connection with Certificate authentication using JSON file.
5580-
text: |
5581-
az network vpn-connection create -g MyResourceGroup -n MyConnection \
5582-
--vnet-gateway1 MyVnetGateway --local-gateway2 MyLocalGateway \
5583-
--auth-type Certificate --cert-auth @cert_auth.json
55845579
- name: Create a VPN connection with Certificate authentication using inline JSON.
55855580
text: |
55865581
az network vpn-connection create -g MyResourceGroup -n MyConnection \

src/azure-cli/azure/cli/command_modules/network/_template_builder.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,8 @@ def build_vnet_resource(_, name, location, tags, vnet_prefix=None, subnet=None,
464464

465465
def build_vpn_connection_resource(cmd, name, location, tags, gateway1, gateway2, vpn_type, authorization_key,
466466
enable_bgp, routing_weight, shared_key, use_policy_based_traffic_selectors,
467-
express_route_gateway_bypass, ingress_nat_rule, egress_nat_rule, auth_type, cert_auth):
467+
express_route_gateway_bypass, ingress_nat_rule, egress_nat_rule,
468+
auth_type, cert_auth):
468469
vpn_properties = {
469470
'virtualNetworkGateway1': {'id': gateway1},
470471
'enableBgp': enable_bgp,

0 commit comments

Comments
 (0)