Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: initialize SonicDBConfig differently for single or multi_asic (#…
…1409) **- What I did** Fixes sonic-net/sonic-buildimage#6708 This bug is exposed by sonic-net/sonic-utilities#1392. Previously the `config` command will call `SonicDBConfig.load_sonic_global_db_config()` even on a single ASIC platform, and it will silently failed. After exposed, it will fail with error syslog message: ``` admin@sonic:~$ sudo config save Existing files will be overwritten, continue? [y/N]: ^CAborted! Feb 8 03:23:48.729434 sonic ERR sniffer: :- initializeGlobalConfig: Sonic database config global file doesn't exist at /var/run/redis/sonic-db/database_global.json ``` **- How to verify it** Tested on DUT
- Loading branch information