Skip to content

Commit

Permalink
🐛 Do not close runtime for root asset if no inventory. (#3310)
Browse files Browse the repository at this point in the history
Signed-off-by: Preslav <[email protected]>
  • Loading branch information
preslavgerchev authored Feb 14, 2024
1 parent c123c2c commit a0a0eb6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion explorer/scan/discovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit a0a0eb6

Please sign in to comment.