We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5d9456 commit 1ec42d6Copy full SHA for 1ec42d6
src/sonic-daemon-base/sonic_daemon_base/daemon_base.py
@@ -153,7 +153,7 @@ def get_path_to_port_config_file(self):
153
(platform_path, hwsku_path) = self.get_path_to_platform_and_hwsku()
154
155
# First check for the presence of the new 'platform.json' file
156
- port_config_file_path = "/".join([hwsku_path, PLATFORM_CAP])
+ port_config_file_path = "/".join([platform_path, PLATFORM_CAP])
157
if not os.path.isfile(port_config_file_path):
158
159
# platform.json doesn't exist. Try loading the legacy 'port_config.ini' file
0 commit comments