From e63c0d3b3f7675b94664f4fd197c9f5e4d7c8ca1 Mon Sep 17 00:00:00 2001 From: Dexter Yan Date: Thu, 24 Oct 2024 17:49:56 +1300 Subject: [PATCH] add host collector to count --- pkg/supportbundle/supportbundle.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/supportbundle/supportbundle.go b/pkg/supportbundle/supportbundle.go index 0584fe1278..3dace009f5 100644 --- a/pkg/supportbundle/supportbundle.go +++ b/pkg/supportbundle/supportbundle.go @@ -155,7 +155,7 @@ func CreateSupportBundleDependencies(app *apptypes.App, sequence int64, opts typ URI: GetSpecURI(app.GetSlug()), RedactURIs: redactURIs, Progress: types.SupportBundleProgress{ - CollectorCount: len(supportBundle.Spec.Collectors), + CollectorCount: len(supportBundle.Spec.Collectors) + len(supportBundle.Spec.HostCollectors), }, }