Skip to content

Commit

Permalink
fix wrong type (#40)
Browse files Browse the repository at this point in the history
* fix wrong type

* fix
  • Loading branch information
ninpan-ms authored Dec 20, 2021
1 parent 3955a2f commit 0b3d274
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/spring-cloud/azext_spring_cloud/_tanzu_component.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ def create_api_portal(cmd, client, resource_group, service, enable_api_portal):
child_name_1=DEFAULT_NAME
)

api_portal_resource = models.GatewayResource(
properties = models.GatewayProperties(
api_portal_resource = models.ApiPortalResource(
properties = models.ApiPortalProperties(
gateway_ids=[gateway_id]
)
)
Expand Down

0 comments on commit 0b3d274

Please sign in to comment.