[sr-dev] git:5.2:7a394732: nsq: docs fix parameter name

Henning Westerholt hw at skalatan.de
Sat Mar 14 21:21:48 CET 2020


Module: kamailio
Branch: 5.2
Commit: 7a394732892eb823a5f0440cdc2de2115565c113
URL: https://github.com/kamailio/kamailio/commit/7a394732892eb823a5f0440cdc2de2115565c113

Author: Bastian Triller <bastian.triller at gmail.com>
Committer: Henning Westerholt <hw at skalatan.de>
Date: 2020-03-14T21:20:08+01:00

nsq: docs fix parameter name

(cherry picked from commit e907b53374ead5ec03a01f8a04ff69e70bd0356c)

---

Modified: src/modules/nsq/doc/nsq_admin.xml

---

Diff:  https://github.com/kamailio/kamailio/commit/7a394732892eb823a5f0440cdc2de2115565c113.diff
Patch: https://github.com/kamailio/kamailio/commit/7a394732892eb823a5f0440cdc2de2115565c113.patch

---

diff --git a/src/modules/nsq/doc/nsq_admin.xml b/src/modules/nsq/doc/nsq_admin.xml
index 4f31746518..a5fa007921 100644
--- a/src/modules/nsq/doc/nsq_admin.xml
+++ b/src/modules/nsq/doc/nsq_admin.xml
@@ -260,7 +260,7 @@ modparam("nsq", "consumer_event_key", "My-JSON-Field-Name")
 		</section>
 
 		<section>
-			<title><varname>consumer_event_sub_key</varname>(str)</title>
+			<title><varname>consumer_event_subkey</varname>(str)</title>
 			<para>
 				The default name of the field in json payload to compose the event name 2nd part
 			</para>
@@ -271,10 +271,10 @@ modparam("nsq", "consumer_event_key", "My-JSON-Field-Name")
 				<emphasis>Default value is <quote>Event-Name</quote>.</emphasis>
 			</para>
 			<example>
-				<title>Set <varname>consumer_event_sub_key</varname> parameter</title>
+				<title>Set <varname>consumer_event_subkey</varname> parameter</title>
 <programlisting format="linespecific">
 ...
-modparam("nsq", "consumer_event_sub_key", "My-JSON-SubField-Name")
+modparam("nsq", "consumer_event_subkey", "My-JSON-SubField-Name")
 ...
 </programlisting>
 			</example>
@@ -384,7 +384,7 @@ modparam("nsq", "topic_channel", "My-NSQ-Topic-2:My-NSQ-Channel-2")
 <programlisting format="linespecific">
 ...
 modparam("nsq", "consumer_event_key", "Event-Category")
-modparam("nsq", "consumer_event_sub_key", "Event-Name")
+modparam("nsq", "consumer_event_subkey", "Event-Name")
 ...
 
 event_route[nsq:consumer-event-presence-update]
@@ -408,7 +408,7 @@ event_route[nsq:consumer-event-presence]
 event_route[nsq:consumer-event-event-category-event-name]
 {
 	# event-category is the name of the consumer_event_key parameter
-	# event-name is the name of the consumer_event_sub_key parameter
+	# event-name is the name of the consumer_event_subkey parameter
 	# this event route is executed if we can't find the previous
 	...
 }




More information about the sr-dev mailing list