Skip to content

Commit a711d32

Browse files
committed
alias_properties rename
1 parent 82658ff commit a711d32

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

server/recceiver/cfstore.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -986,20 +986,20 @@ def update_existing_channel_diff_iocid(
986986
# in case, alias exists, update their properties too
987987
if cf_config.alias_enabled:
988988
if channel_name in record_info_by_name:
989-
alProps = [CFProperty.alias(ioc_info.owner, channel_name)]
989+
alias_properties = [CFProperty.alias(ioc_info.owner, channel_name)]
990990
for p in newProps:
991-
alProps.append(p)
991+
alias_properties.append(p)
992992
for alias_name in record_info_by_name[channel_name].aliases:
993993
if alias_name in existing_channels:
994994
ach = existing_channels[alias_name]
995995
ach.properties = __merge_property_lists(
996-
alProps,
996+
alias_properties,
997997
ach,
998998
processor.managed_properties,
999999
)
10001000
channels.append(ach)
10011001
else:
1002-
channels.append(CFChannel(alias_name, ioc_info.owner, alProps))
1002+
channels.append(CFChannel(alias_name, ioc_info.owner, alias_properties))
10031003
_log.debug("Add existing alias %s of %s with different IOC from %s", alias_name, channel_name, iocid)
10041004

10051005

@@ -1029,11 +1029,11 @@ def create_new_channel(
10291029
_log.debug("Add new channel: %s", channel_name)
10301030
if cf_config.alias_enabled:
10311031
if channel_name in record_info_by_name:
1032-
alProps = [CFProperty.alias(ioc_info.owner, channel_name)]
1032+
alias_properties = [CFProperty.alias(ioc_info.owner, channel_name)]
10331033
for p in newProps:
1034-
alProps.append(p)
1034+
alias_properties.append(p)
10351035
for alias in record_info_by_name[channel_name].aliases:
1036-
channels.append(CFChannel(alias, ioc_info.owner, alProps))
1036+
channels.append(CFChannel(alias, ioc_info.owner, alias_properties))
10371037
_log.debug("Add new alias: %s from %s", alias, channel_name)
10381038

10391039

0 commit comments

Comments
 (0)