Skip to content

Commit 1ec42d6

Browse files
authored
hwsku_fix_daemon (sonic-net#51)
Signed-off-by: Sangita Maity <[email protected]>
1 parent f5d9456 commit 1ec42d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sonic-daemon-base/sonic_daemon_base/daemon_base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def get_path_to_port_config_file(self):
153153
(platform_path, hwsku_path) = self.get_path_to_platform_and_hwsku()
154154

155155
# First check for the presence of the new 'platform.json' file
156-
port_config_file_path = "/".join([hwsku_path, PLATFORM_CAP])
156+
port_config_file_path = "/".join([platform_path, PLATFORM_CAP])
157157
if not os.path.isfile(port_config_file_path):
158158

159159
# platform.json doesn't exist. Try loading the legacy 'port_config.ini' file

0 commit comments

Comments
 (0)