From a0a0eb6b8de8ec92c29637975bad1372a102aff2 Mon Sep 17 00:00:00 2001 From: Preslav Gerchev Date: Wed, 14 Feb 2024 17:22:09 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Do=20not=20close=20runtime=20for?= =?UTF-8?q?=20root=20asset=20if=20no=20inventory.=20(#3310)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Preslav --- explorer/scan/discovery.go | 1 - 1 file changed, 1 deletion(-) diff --git a/explorer/scan/discovery.go b/explorer/scan/discovery.go index 8355c4a636..9794f17feb 100644 --- a/explorer/scan/discovery.go +++ b/explorer/scan/discovery.go @@ -132,7 +132,6 @@ func DiscoverAssets(ctx context.Context, inv *inventory.Inventory, upstream *ups // If there is no inventory, no assets have been discovered under the root asset if rootAssetWithRuntime.Runtime.Provider.Connection.Inventory == nil { - closeRootRuntime = true continue }