From 818ff761ccb6a081d840173d073e48f945848271 Mon Sep 17 00:00:00 2001 From: Giuseppe Guerra Date: Wed, 9 Oct 2024 13:59:04 +0200 Subject: [PATCH] Test SRI check errors with Faro --- pkg/services/pluginsintegration/pluginassets/pluginassets.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/services/pluginsintegration/pluginassets/pluginassets.go b/pkg/services/pluginsintegration/pluginassets/pluginassets.go index 3184a4ec772..daea9eedd32 100644 --- a/pkg/services/pluginsintegration/pluginassets/pluginassets.go +++ b/pkg/services/pluginsintegration/pluginassets/pluginassets.go @@ -97,6 +97,7 @@ func (s *Service) ModuleHash(ctx context.Context, p pluginstore.Plugin) string { if err != nil { s.log.Error("Failed to calculate module hash", "plugin", p.ID, "error", err) } + mh += "broken" s.moduleHashCache.Store(k, mh) return mh }