Skip to content

Commit ce0f672

Browse files
Fix syntax error
1 parent 380e9e6 commit ce0f672

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

files/build_templates/sonic_debian_extension.j2

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ fl="${files_path}/remote_ctr.config.json"
460460
use_k8s_as_http_proxy=$(python3 -c 'import json
461461
with open("'${fl}'", "r") as s:
462462
d=json.load(s);print(d.get("use_k8s_as_http_proxy", ""))
463-
'
463+
')
464464
if [ "${use_k8s_as_http_proxy}" == "y" ]; then
465465
# create proxy files for docker using private IP which will
466466
# be later directed to k8s master upon config
@@ -475,7 +475,6 @@ Environment="HTTPS_PROXY=${PROXY_INFO}"
475475
EOT
476476
fi
477477

478-
endif
479478
sudo cp ${files_path}/remote_ctr.config.json ${FILESYSTEM_ROOT_ETC_SONIC}/
480479

481480
# Remote container management service files

0 commit comments

Comments
 (0)