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

Log ipset command output on failure #6705

Merged
merged 1 commit into from
Sep 30, 2024
Merged

Commits on Sep 30, 2024

  1. Log ipset command output on failure

    The error returned from `Cmd.Run` is not very useful, for example,
    "error destroying ipset ANTREA-POL-F7B29A365E132446-4: exit status 1".
    
    Ths patch adds the command's output to the error, for example,
    "error destroying ipset ANTREA-POL-4F5505D534DEB0EF-4, err: exit status
    1, output: ipset v7.19: Set cannot be destroyed: it is in use by a kernel
    component".
    
    Signed-off-by: Quan Tian <[email protected]>
    tnqn committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    715e2f1 View commit details
    Browse the repository at this point in the history