Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information