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

supportbundle: fix nil pointer error #2598

Merged
merged 1 commit into from
Aug 23, 2021

Commits on Aug 23, 2021

  1. supportbundle: fix nil pointer error

    when iproute2 is not installed in docker image, and run `antctl supportbundle` in
    antrea-agent, it will panic, this is because, collectAgent will return a nil pointer
    for systemv1beta1.SupportBundle, and in `func (r *supportBundleREST) Create`,
    antrea handles the nil pointer directly which leads to the panic.
    
    Signed-off-by: Bin Liu <biliu@vmware.com>
    liu4480 committed Aug 23, 2021
    Configuration menu
    Copy the full SHA
    3a5402c View commit details
    Browse the repository at this point in the history