File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ def reload(filename):
159
159
client .flushdb ()
160
160
command = "{} -j {} --write-to-db" .format (SONIC_CFGGEN_PATH , filename )
161
161
run_command (command , display_cmd = True )
162
- client .set (config_db .INIT_INDICATOR , True )
162
+ client .set (config_db .INIT_INDICATOR , 1 )
163
163
_restart_services ()
164
164
165
165
@cli .command ()
@@ -200,7 +200,7 @@ def load_minigraph():
200
200
else :
201
201
command = "{} -m --write-to-db" .format (SONIC_CFGGEN_PATH )
202
202
run_command (command , display_cmd = True )
203
- client .set (config_db .INIT_INDICATOR , True )
203
+ client .set (config_db .INIT_INDICATOR , 1 )
204
204
if os .path .isfile ('/etc/sonic/acl.json' ):
205
205
run_command ("acl-loader update full /etc/sonic/acl.json" , display_cmd = True )
206
206
#FIXME: After config DB daemon is implemented, we'll no longer need to restart every service.
You can’t perform that action at this time.
0 commit comments