Skip to content

Commit

Permalink
Fix error log message
Browse files Browse the repository at this point in the history
  • Loading branch information
mprabhu-nokia committed Oct 14, 2020
1 parent c1a72c3 commit d82046b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sonic-chassisd/scripts/chassisd
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ class config_handling_task(ProcessTaskBase):
(key, op, fvp) = sst.pop()

if not key.startswith(ModuleBase.MODULE_TYPE_CONTROL) and not key.startswith(ModuleBase.MODULE_TYPE_LINE) and not key.startswith(ModuleBase.MODULE_TYPE_FABRIC):
self.logger.log_warning("Incorrect module-name {}. Should start with {} or {} or {}".format(ModuleBase.MODULE_TYPE_CONTROL, ModuleBase.MODULE_TYPE_LINE, ModuleBase.MODULE_TYPE_FABRIC))
self.logger.log_warning("Incorrect module-name {}. Should start with {} or {} or {}".format(key, ModuleBase.MODULE_TYPE_CONTROL, ModuleBase.MODULE_TYPE_LINE, ModuleBase.MODULE_TYPE_FABRIC))
continue

fvp_dict = dict(fvp)
Expand Down

0 comments on commit d82046b

Please sign in to comment.