Skip to content

Commit 94f6317

Browse files
committed
Rename create_properties to create_ioc_properties
1 parent d6244dd commit 94f6317

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

server/recceiver/cfstore.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,7 @@ def __updateCF__(processor: CFProcessor, recordInfoByName: Dict[str, RecordInfo]
880880
existingChannels = get_existing_channels(new_channels, client, cf_config, processor)
881881

882882
for channel_name in new_channels:
883-
newProps = create_properties(
883+
newProps = create_ioc_properties(
884884
ioc_info.owner,
885885
ioc_info.time,
886886
recceiverid,
@@ -931,7 +931,9 @@ def cf_set_chunked(client, channels: List[CFChannel], chunk_size=10000):
931931
client.set(channels=chunk)
932932

933933

934-
def create_properties(owner: str, iocTime: str, recceiverid: str, hostName: str, iocName: str, iocIP: str, iocid: str):
934+
def create_ioc_properties(
935+
owner: str, iocTime: str, recceiverid: str, hostName: str, iocName: str, iocIP: str, iocid: str
936+
):
935937
return [
936938
CFProperty(CFPropertyName.hostName.name, owner, hostName),
937939
CFProperty(CFPropertyName.iocName.name, owner, iocName),
@@ -948,7 +950,7 @@ def create_default_properties(
948950
):
949951
channel_name = cf_channel.name
950952
last_ioc_info = iocs[channels_iocs[channel_name][-1]]
951-
return create_properties(
953+
return create_ioc_properties(
952954
ioc_info.owner,
953955
ioc_info.time,
954956
recceiverid,

0 commit comments

Comments
 (0)