Skip to content

Commit 8481301

Browse files
authored
Update healthcheck_webapps_refarch.py
1 parent 813309e commit 8481301

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

healthcheck/healthcheck_webapps_refarch.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
import testtools.AzureAuthentication as AzureAuth
1212
import testtools.deploy as DeployOp
1313
from azure.mgmt.network import NetworkManagementClient
14+
from azure.mgmt.network.models import ServiceEndpointPropertiesFormat, Subnet
1415

1516
def main(tenant_id_arg, client_id_arg, client_secret_arg, subscription_id_arg, username, password, ipAddress, sslCertificate, sslPrivateKey, location_arg, platform_arg, existingVPC):
1617

@@ -27,7 +28,6 @@ def main(tenant_id_arg, client_id_arg, client_secret_arg, subscription_id_arg, u
2728
location = location_arg
2829

2930
if existingVPC=='true':
30-
print('yes')
3131
# Subnets & virtual network info
3232
subnets_cidr = ['10.1.0.0/24']
3333
vnet_cidr = '10.1.0.0/16'
@@ -58,7 +58,6 @@ def main(tenant_id_arg, client_id_arg, client_secret_arg, subscription_id_arg, u
5858
print(f"Enabled Microsoft.Storage service endpoint for subnet: {subnet_name}")
5959
except Exception as e:
6060
raise(e)
61-
print(subnet_name[0])
6261
# Parameters for deployment
6362
parameters = {
6463
"IP Addresses Permitted to Remote into Server VM in CIDR Notation": ipAddress,
@@ -81,8 +80,6 @@ def main(tenant_id_arg, client_id_arg, client_secret_arg, subscription_id_arg, u
8180
"Operating System": platform_arg
8281
})
8382

84-
print(parameters)
85-
8683
# Find latest MATLAB release from Github page and get template json path.
8784
res = requests.get(
8885
f"https://github.com/mathworks-ref-arch/{ref_arch_name}/tree/main/releases/"

0 commit comments

Comments
 (0)