Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support syslog rate limit configuration for containers and host #2454

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update feature.py
Junchao-Mellanox authored Dec 1, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit e23305ade0e9bf2dd41360cd5d8ec5ab3f7f0e09
2 changes: 1 addition & 1 deletion sonic_package_manager/service_creator/feature.py
Original file line number Diff line number Diff line change
@@ -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)