diff --git a/src/sonic-daemon-base/sonic_daemon_base/daemon_base.py b/src/sonic-daemon-base/sonic_daemon_base/daemon_base.py index 223cb82c9c31..8f932b2c9e39 100644 --- a/src/sonic-daemon-base/sonic_daemon_base/daemon_base.py +++ b/src/sonic-daemon-base/sonic_daemon_base/daemon_base.py @@ -153,7 +153,7 @@ def get_path_to_port_config_file(self): (platform_path, hwsku_path) = self.get_path_to_platform_and_hwsku() # First check for the presence of the new 'platform.json' file - port_config_file_path = "/".join([hwsku_path, PLATFORM_CAP]) + port_config_file_path = "/".join([platform_path, PLATFORM_CAP]) if not os.path.isfile(port_config_file_path): # platform.json doesn't exist. Try loading the legacy 'port_config.ini' file