File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -130,10 +130,12 @@ get_proxy_connection()
130130 # setting the type of connection
131131 if [[ $2 == " input" ]]; then
132132 local CONNECTION=" method=bind,type=pull"
133- local NAMECONNECTION=" --proxy-name"
133+ local NAMEPROXY=" --proxy-name aggregator-proxy-$1 "
134+ local NAMEPROXYCHANNEL=
134135 elif [[ $2 == " output" ]]; then
135136 local CONNECTION=" method=connect,type=push"
136- local NAMECONNECTION=" --proxy-channel-name"
137+ local NAMEPROXY=" --proxy-name calib-output-proxy-$1 "
138+ local NAMEPROXYCHANNEL=" --proxy-channel-name aggregator-proxy-$1 "
137139 else
138140 echo " parameter 2 should be either 'input' or 'output'"
139141 exit 2
@@ -144,7 +146,7 @@ get_proxy_connection()
144146 else
145147 CONNECTION+=" ,transport=zeromq"
146148 fi
147- local PROXY_CONN=" $NAMECONNECTION aggregator-proxy- $1 --channel-config \" name=aggregator-proxy-$1 ,$CONNECTION ,rateLogging=1\" "
149+ local PROXY_CONN=" $NAMEPROXY $NAMEPROXYCHANNEL --channel-config \" name=aggregator-proxy-$1 ,$CONNECTION ,rateLogging=1\" "
148150
149151 echo PROXY_CONN = $PROXY_CONN 1>&2
150152 echo $PROXY_CONN
You can’t perform that action at this time.
0 commit comments