diff --git a/scripts/db_migrator.py b/scripts/db_migrator.py index cbb25e0a52..8275115985 100755 --- a/scripts/db_migrator.py +++ b/scripts/db_migrator.py @@ -91,7 +91,8 @@ def __init__(self, namespace, socket=None): self.asic_type = version_info.get('asic_type') if not self.asic_type: log.log_error("ASIC type information not obtained. DB migration will not be reliable") - self.hwsku = device_info.get_hwsku() + + self.hwsku = device_info.get_localhost_info('hwsku', self.configDB) if not self.hwsku: log.log_error("HWSKU information not obtained. DB migration will not be reliable")