Skip to content

Commit 978afb5

Browse files
committed
Aligning Code
Signed-off-by: Abhishek Dosi <[email protected]>
1 parent 1fbf8fb commit 978afb5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

scripts/hostcfgd

+2-4
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ class FeatureHandler(object):
233233
"""
234234
Summary:
235235
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
237237
"""
238238
for feature_name in feature_table.keys():
239239
if not feature_name:
@@ -326,9 +326,7 @@ class FeatureHandler(object):
326326
self.set_feature_state(feature, self.FEATURE_STATE_FAILED)
327327
return
328328
self._config_db.mod_entry('FEATURE', feature_config.name, {'has_per_asic_scope': str(feature_config.has_per_asic_scope)})
329-
330-
331-
329+
332330
def update_systemd_config(self, feature_config):
333331
"""Updates `Restart=` field in feature's systemd configuration file
334332
according to the value of `auto_restart` field in `FEATURE` table of `CONFIG_DB`.

0 commit comments

Comments
 (0)