diff --git a/go/runtime/bundle/discovery.go b/go/runtime/bundle/discovery.go index f3b780dca99..50a85333e94 100644 --- a/go/runtime/bundle/discovery.go +++ b/go/runtime/bundle/discovery.go @@ -569,7 +569,7 @@ func (d *Discovery) cleanStaleExplodedBundles() { "err", err) continue } - if _, configured := runtimes[manifest.ID]; !configured { + if _, configured := runtimes[manifest.ID]; configured { continue } explodedDir := filepath.Join(bundlesDir, manifestHash)