Skip to content

Commit

Permalink
hwsku_fix_daemon (sonic-net#51)
Browse files Browse the repository at this point in the history
Signed-off-by: Sangita Maity <sangitamaity0211@gmail.com>
  • Loading branch information
samaity authored Feb 20, 2020
1 parent f5d9456 commit 1ec42d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sonic-daemon-base/sonic_daemon_base/daemon_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1ec42d6

Please sign in to comment.