Skip to content

Commit

Permalink
🧹 do not discover containers with auto discovery for k8s (#1986)
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Milchev <[email protected]>
  • Loading branch information
imilchev authored Sep 29, 2023
1 parent 1fde3ba commit 98add68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/k8s/resources/discovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 98add68

Please sign in to comment.