Skip to content

Commit 84aa4b5

Browse files
committed
fix build
Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <[email protected]>
1 parent 222489d commit 84aa4b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

files/build_templates/docker_image_ctl.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function updateSyslogConf()
3333
# running on the namespace to reach the rsyslog service running on the host
3434
# Also update the container name
3535
if [[ ($NUM_ASIC -gt 1) ]]; then
36-
TARGET_IP=$(docker network inspect bridge --format='{{(index .IPAM.Config 0).Gateway}}')
36+
TARGET_IP=$(docker network inspect bridge --format={{ "'{{(index .IPAM.Config 0).Gateway}}'" }})
3737
CONTAINER_NAME="{{docker_container_name}}$DEV"
3838
TMP_FILE="/tmp/rsyslog.$CONTAINER_NAME.conf"
3939

0 commit comments

Comments
 (0)