Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ def cli_system_topic_create_or_update(
tags=None,
identity=None):

identity_info = _get_identity_info(identity)
identity_info = _get_identity_info_only_if_not_none(identity)
Copy link
Member

@evelyn-ys evelyn-ys Apr 28, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does domain_create_or_update need the same change(L253)?

def cli_domain_create_or_update(
client,
resource_group_name,
domain_name,
location=None,
tags=None,
input_schema=EVENTGRID_SCHEMA,
input_mapping_fields=None,
input_mapping_default_values=None,
public_network_access=None,
inbound_ip_rules=None,
sku=SKU_BASIC,
identity=None):
final_input_schema, input_schema_mapping = _get_input_schema_and_mapping(
input_schema,
input_mapping_fields,
input_mapping_default_values)
sku_name = _get_sku(sku)
sku_info = ResourceSku(name=sku_name)
identity_info = None
identity_info = _get_identity_info(identity)
domain_info = Domain(
location=location,
tags=tags,
input_schema=final_input_schema,
input_schema_mapping=input_schema_mapping,
public_network_access=public_network_access,
inbound_ip_rules=inbound_ip_rules,
sku=sku_info,
identity=identity_info)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no. this change is needed under some system-topics which are global.


system_topic_info = SystemTopic(
location=location,
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Loading