Skip to content

Commit 6d51eb0

Browse files
committed
Remove extraneous recordType check
1 parent f34d060 commit 6d51eb0

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

server/recceiver/cfstore.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -682,12 +682,6 @@ def handle_channel_is_old(
682682
cf_channel,
683683
processor.managed_properties,
684684
)
685-
if cf_config.record_type_enabled:
686-
cf_channel.properties = __merge_property_lists(
687-
cf_channel.properties.append(CFProperty.recordType(ioc_info.owner, iocs[last_ioc_id]["recordType"])),
688-
cf_channel,
689-
processor.managed_properties,
690-
)
691685
channels.append(cf_channel)
692686
_log.debug("Add existing channel %s to previous IOC %s", cf_channel, last_ioc_id)
693687
# In case alias exist, also delete them
@@ -710,17 +704,6 @@ def handle_channel_is_old(
710704
alias_channel,
711705
processor.managed_properties,
712706
)
713-
if cf_config.record_type_enabled:
714-
cf_channel.properties = __merge_property_lists(
715-
cf_channel.properties.append(
716-
CFProperty.recordType(
717-
ioc_info.owner,
718-
iocs[last_alias_ioc_id]["recordType"],
719-
)
720-
),
721-
cf_channel,
722-
processor.managed_properties,
723-
)
724707
channels.append(alias_channel)
725708
_log.debug("Add existing alias %s to previous IOC: %s", alias_channel, last_alias_ioc_id)
726709

0 commit comments

Comments
 (0)