From 98add68a057e1c9d99acdf0389bf54d22868d38d Mon Sep 17 00:00:00 2001 From: Ivan Milchev Date: Fri, 29 Sep 2023 17:45:38 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20do=20=20not=20discover=20contain?= =?UTF-8?q?ers=20with=20auto=20discovery=20for=20k8s=20(#1986)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ivan Milchev --- providers/k8s/resources/discovery.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/k8s/resources/discovery.go b/providers/k8s/resources/discovery.go index fc06a4f672..96be442af5 100644 --- a/providers/k8s/resources/discovery.go +++ b/providers/k8s/resources/discovery.go @@ -248,7 +248,7 @@ func discoverAssets( } assets = append(assets, list...) } - if target == DiscoveryContainerImages || target == DiscoveryAuto { + if target == DiscoveryContainerImages { list, err = discoverContainerImages(runtime, invConfig, clusterId, k8s, nsFilter) if err != nil { return nil, err