Skip to content

Commit

Permalink
Merge pull request #544 from xwu2git/master
Browse files Browse the repository at this point in the history
fix SM_HOST
  • Loading branch information
xwu2git authored Jul 16, 2020
2 parents f2fa234 + 7eeff87 commit 20a6a72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deployment/kubernetes/yaml/discovery.yaml.m4
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ spec:
env:
- name: PORT_SCAN
value: "-p T:defn(`CAMERA_RTSP_PORT')-eval(defn(`CAMERA_RTSP_PORT')+defn(`NCAMERAS3')*defn(`CAMERA_PORT_STEP')) defn(`OFFICE_NAME')-cameras-entrance-service -Pn"
- name: SIM_PORT
- name: SIM_HOST
value: ifelse(eval(defn(`NCAMERAS3')>0),1,"loop(`CAMERAIDX',1,defn(`NCAMERAS3'),`defn(`OFFICE_NAME')-cameras-entrance-service:eval(defn(`CAMERA_RTSP_PORT')+defn(`CAMERAIDX')*defn(`CAMERA_PORT_STEP')-defn(`CAMERA_PORT_STEP'))/')",":0")
- name: SIM_PREFIX
value: "`cams2o'defn(`OFFICEIDX')e"
Expand Down

0 comments on commit 20a6a72

Please sign in to comment.