Skip to content

Commit 2ff4c60

Browse files
committed
Update docs for info tag config
Space separated or comma with space separated info tags are allowed. Makes all the examples follow space separated. Gives a comment in the reading code to make clear what is expected.
1 parent 5be70cb commit 2ff4c60

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

server/demo.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
[cf]
6767
# cf-store application
6868
# a space-separated list of infotags to set as CF Properties
69-
#infotags = archive, foo, bar, blah
69+
#infotags = archive foo bar blah
7070

7171
# Uncomment line below to turn off the feature to add CA/PVA port info for name server to channelfinder
7272
#iocConnectionInfo = False

server/recceiver/cfstore.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,7 @@ def _start_service_with_lock(self):
320320
required_properties.add(CFPropertyName.CA_PORT.value)
321321
required_properties.add(CFPropertyName.PVA_PORT.value)
322322

323+
# Space or comma and space separated strings
323324
record_property_names_list = {s.strip(", ") for s in self.cf_config.info_tags.split()}
324325
if self.cf_config.record_description_enabled:
325326
record_property_names_list.add(CFPropertyName.RECORD_DESC.value)

server/recceiver_full.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ idkey = 42
6262
# cf-store application
6363

6464
# A space-separated list of infotags to set as CF Properties
65-
infotags = archive, archiver
65+
infotags = archive archiver
6666

6767
# Feature to add CA/PVA port info for name server to channelfinder
6868
iocConnectionInfo = True

0 commit comments

Comments
 (0)