Skip to content

Commit

Permalink
Update db_migrator.py
Browse files Browse the repository at this point in the history
  • Loading branch information
liuh-80 authored Apr 7, 2024
1 parent 1f41eb3 commit 4b13a57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/db_migrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1276,7 +1276,7 @@ def main():
socket_path = args.socket
namespace = args.namespace

# Can't load global config base on the resoult of is_multi_asic(), because on multi-asic device, when db_migrate.py
# Can't load global config base on the result of is_multi_asic(), because on multi-asic device, when db_migrate.py
# run on the local database, ASIC instance will have not created the /var/run/redis0/sonic-db/database-config.json
if args.namespace is not None:
if not SonicDBConfig.isGlobalInit():
Expand Down

0 comments on commit 4b13a57

Please sign in to comment.