Repository navigation
Conversation
consistent message between versions. - What I did: Modify the error message of configuring duplicate syslog to have a consistent message between versions. - Why I did it: The error message of configuring duplicate syslog is ambiguous to user, so modify it to make it have clearer meaning. - How I verified it: Modify the code and check the error message, also build the sonic-utilities python wheel to make sure all unit test cases will pass. The error message after modification: ``` admin@sonic:~$ sudo config syslog add 20.1.1.12 Running command: systemctl reset-failed rsyslog-config rsyslog Running command: systemctl restart rsyslog-config admin@sonic:~$ admin@sonic:~$ sudo config syslog add 20.1.1.12 Usage: config syslog add [OPTIONS] SERVER_IP_ADDRESS Error: Syslog server 20.1.1.12 is already configured. <---------------- modified error message. ```
|
This pull request has been automatically marked as stale because it has not had any activity for 365 days. It will be closed in 14 days if no further activity occurs. If this PR is still relevant, please leave a comment or push a new commit — this will reset the inactivity timer. Important: before this PR can be merged it must be rebased onto the latest If you believe this PR should remain open regardless of activity, add the Thank you for your contribution to SONiC! |
|
This pull request has been closed due to inactivity (no updates in over 1 year). If you would like to continue this work, please re-open the PR or submit a new one rebased onto the latest Thank you for your contribution to SONiC! |
Modify the error message of configuring duplicate syslog to have a consistent message between versions.
What I did
Modify the error message of configuring duplicate syslog to have a consistent message between versions.
How I did it
The error message of configuring duplicate syslog is ambiguous to user, so modify it to make it have clearer meaning.
How to verify it
Modify the code and check the error message, also build the sonic-utilities python wheel to make sure all unit test cases will pass.
The error message after modification: