File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -502,7 +502,7 @@ start() {
502
502
redis_dir_list=` /usr/bin/python -c " import sys; import os; import json; f=open(sys.argv[1]); \
503
503
global_db_dir = os.path.dirname(sys.argv[1]); data=json.load(f); \
504
504
print(\" \" .join([os.path.normpath(global_db_dir+'/'+elem['include']).partition('sonic-db')[0]\
505
- for elem in data['INCLUDES'] if 'namespace' in elem])); f.close()" $SONIC_DB_GLOBAL_JSON `
505
+ for elem in data['INCLUDES'] if 'namespace' in elem or 'container_name' in elem ])); f.close()" $SONIC_DB_GLOBAL_JSON `
506
506
fi
507
507
508
508
{%- if docker_container_name == " database" %}
@@ -518,7 +518,7 @@ start() {
518
518
fi
519
519
{%- endif %}
520
520
521
- if [[ -z " $DEV " || $DATABASE_TYPE == " dpudb " ]]; then
521
+ if [[ -z " $DEV " ]]; then
522
522
NET=" host"
523
523
524
524
# For Multi-ASIC platform we have to mount the redis paths for database instances running in different
You can’t perform that action at this time.
0 commit comments