Skip to content

Commit 19373c8

Browse files
committed
Remove code to generate conformance table specific to v1.0
Signed-off-by: Norwin Schnyder <norwin.schnyder+github@gmail.com>
1 parent b078dcf commit 19373c8

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

hack/mkdocs-generate-conformance.py

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -89,21 +89,16 @@ def generate_conformance_tables(reports, currVersion, mkdocsConfig):
8989
gateway_tls_table = pandas.DataFrame()
9090
gateway_grpc_table = pandas.DataFrame()
9191

92-
if currVersion != 'v1.0.0':
93-
gateway_http_table = generate_profiles_report(reports, 'GATEWAY-HTTP',currVersion)
94-
95-
gateway_grpc_table = generate_profiles_report(reports, 'GATEWAY-GRPC',currVersion)
96-
gateway_grpc_table = gateway_grpc_table.rename_axis('Organization')
92+
gateway_http_table = generate_profiles_report(reports, 'GATEWAY-HTTP',currVersion)
93+
gateway_http_table = gateway_http_table.rename_axis('Organization')
9794

98-
gateway_tls_table = generate_profiles_report(reports, 'GATEWAY-TLS',currVersion)
99-
gateway_tls_table = gateway_tls_table.rename_axis('Organization')
95+
gateway_grpc_table = generate_profiles_report(reports, 'GATEWAY-GRPC',currVersion)
96+
gateway_grpc_table = gateway_grpc_table.rename_axis('Organization')
10097

101-
mesh_http_table = generate_profiles_report(reports, 'MESH-HTTP',currVersion)
102-
else:
103-
gateway_http_table = generate_profiles_report(reports, "HTTP",currVersion)
104-
mesh_http_table = generate_profiles_report(reports, "MESH",currVersion)
98+
gateway_tls_table = generate_profiles_report(reports, 'GATEWAY-TLS',currVersion)
99+
gateway_tls_table = gateway_tls_table.rename_axis('Organization')
105100

106-
gateway_http_table = gateway_http_table.rename_axis('Organization')
101+
mesh_http_table = generate_profiles_report(reports, 'MESH-HTTP',currVersion)
107102
mesh_http_table = mesh_http_table.rename_axis('Organization')
108103

109104
versionFile = ".".join(currVersion.split(".")[:2])

0 commit comments

Comments
 (0)