Skip to content

Commit

Permalink
Update feature.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Junchao-Mellanox authored Dec 1, 2022
1 parent d2aead9 commit e23305a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sonic_package_manager/service_creator/feature.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def register_syslog_config(self, new_name, old_name=None):
old_name (str, optional): old table name. Defaults to None.
"""
for conn in self._sonic_db.get_connectors():
new_cfg = copy.deepcopy(DEFAULT_SYSLOG_FEATURE_CONFIG.copy())
new_cfg = copy.deepcopy(DEFAULT_SYSLOG_FEATURE_CONFIG)
if old_name:
current_cfg = conn.get_entry(SYSLOG_CONFIG, old_name)
conn.set_entry(SYSLOG_CONFIG, old_name, None)
Expand Down

0 comments on commit e23305a

Please sign in to comment.