Store ConfigDB init indicator boolean value as 1/0 in Redis to be language-agnostic (#1352)

This commit is contained in:
Joe LeVeque 2018-01-30 15:04:52 -08:00 committed by GitHub
parent 175bae84b9
commit a36527a6a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -10,5 +10,4 @@ if [ -r /etc/sonic/config_db.json ]; then
sonic-cfggen -j /etc/sonic/config_db.json --write-to-db
fi
echo -en "SELECT 4\nSET CONFIG_DB_INITIALIZED true" | redis-cli
redis-cli -n 4 SET "CONFIG_DB_INITIALIZED" "1"

@ -1 +1 @@
Subproject commit ce9a36e7d459025bc0d39d744c078f60989f3556
Subproject commit fe6d04328e5a1c4fdba4b35821f2d66475a9f3b0