Skip to content

Commit 6740b2d

Browse files
prsunnyabdosi
authored andcommitted
Fix service and container name to be same (#4151)
1 parent f6d69ae commit 6740b2d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

files/build_templates/init_cfg.json.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
{% endfor %}
2626
},
2727
"CONTAINER_FEATURE": {
28-
{%- for container in ["bgp", "database", "dhcp_relay", "lldp", "pmon", "radv", "rest-api", "sflow",
28+
{%- for container in ["bgp", "database", "dhcp_relay", "lldp", "pmon", "radv", "restapi", "sflow",
2929
"snmp", "swss", "syncd", "teamd", "telemetry"] %}
3030
"{{container}}": {
3131
"auto_restart": "disabled",

rules/docker-restapi.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ SONIC_STRETCH_DOCKERS += $(DOCKER_RESTAPI)
1616
SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_RESTAPI)
1717
endif
1818

19-
$(DOCKER_RESTAPI)_CONTAINER_NAME = rest-api
19+
$(DOCKER_RESTAPI)_CONTAINER_NAME = restapi
2020
$(DOCKER_RESTAPI)_RUN_OPT += --cap-add NET_ADMIN --privileged -t
2121
$(DOCKER_RESTAPI)_RUN_OPT += -v /var/run/redis/redis.sock:/var/run/redis/redis.sock
2222
$(DOCKER_RESTAPI)_RUN_OPT += -p=8090:8090/tcp

0 commit comments

Comments
 (0)