Skip to content

Commit

Permalink
fix type of properties
Browse files Browse the repository at this point in the history
  • Loading branch information
ninpan-ms committed Jan 11, 2022
1 parent 3b6f231 commit 4238246
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spring-cloud/azext_spring_cloud/api_portal.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def api_portal_update(cmd, client, resource_group, service,

def api_portal_clear(cmd, client, resource_group, service):
api_portal = client.api_portals.get(resource_group, service, DEFAULT_NAME)
properties = models.GatewayProperties(
properties = models.ApiPortalProperties(
gateway_ids=api_portal.properties.gateway_ids
)

Expand Down

0 comments on commit 4238246

Please sign in to comment.