Skip to content

Commit e438c66

Browse files
authored
Use -d instead of -m in config qos (#388)
1 parent 97d73da commit e438c66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/main.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -528,13 +528,13 @@ def reload():
528528
hwsku = _get_hwsku()
529529
buffer_template_file = os.path.join('/usr/share/sonic/device/', platform, hwsku, 'buffers.json.j2')
530530
if os.path.isfile(buffer_template_file):
531-
command = "{} -m -t {} >/tmp/buffers.json".format(SONIC_CFGGEN_PATH, buffer_template_file)
531+
command = "{} -d -t {} >/tmp/buffers.json".format(SONIC_CFGGEN_PATH, buffer_template_file)
532532
run_command(command, display_cmd=True)
533533

534534
qos_template_file = os.path.join('/usr/share/sonic/device/', platform, hwsku, 'qos.json.j2')
535535
sonic_version_file = os.path.join('/etc/sonic/', 'sonic_version.yml')
536536
if os.path.isfile(qos_template_file):
537-
command = "{} -m -t {} -y {} >/tmp/qos.json".format(SONIC_CFGGEN_PATH, qos_template_file, sonic_version_file)
537+
command = "{} -d -t {} -y {} >/tmp/qos.json".format(SONIC_CFGGEN_PATH, qos_template_file, sonic_version_file)
538538
run_command(command, display_cmd=True)
539539

540540
# Apply the configurations only when both buffer and qos configuration files are presented

0 commit comments

Comments
 (0)