Commit 978afb5 1 parent 1fbf8fb commit 978afb5 Copy full SHA for 978afb5
File tree 1 file changed +2
-4
lines changed
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ class FeatureHandler(object):
233
233
"""
234
234
Summary:
235
235
Updates the state field in the FEATURE|* tables as the state field
236
- might have to be rendere dbased on DEVICE_METADATA table and generated Device Running Metadata
236
+ might have to be rendered based on DEVICE_METADATA table and generated Device Running Metadata
237
237
"""
238
238
for feature_name in feature_table .keys ():
239
239
if not feature_name :
@@ -326,9 +326,7 @@ class FeatureHandler(object):
326
326
self .set_feature_state (feature , self .FEATURE_STATE_FAILED )
327
327
return
328
328
self ._config_db .mod_entry ('FEATURE' , feature_config .name , {'has_per_asic_scope' : str (feature_config .has_per_asic_scope )})
329
-
330
-
331
-
329
+
332
330
def update_systemd_config (self , feature_config ):
333
331
"""Updates `Restart=` field in feature's systemd configuration file
334
332
according to the value of `auto_restart` field in `FEATURE` table of `CONFIG_DB`.
You can’t perform that action at this time.
0 commit comments