mirror of
https://github.com/grafana/grafana.git
synced 2024-11-26 19:00:54 -06:00
Rendering: Fix Windows plugin signature check (#76123)
* Rendering: Fix Windows plugin signature check * apply review feedback
This commit is contained in:
parent
a2b71fd149
commit
46c1c03183
@ -209,7 +209,7 @@ func (s *Signature) Calculate(ctx context.Context, src plugins.PluginSource, plu
|
||||
f = toSlash(f)
|
||||
|
||||
// Ignoring unsigned Chromium debug.log so it doesn't invalidate the signature for Renderer plugin running on Windows
|
||||
if runningWindows && plugin.JSONData.Type == plugins.TypeRenderer && f == "chrome-win/debug.log" {
|
||||
if runningWindows && plugin.JSONData.Type == plugins.TypeRenderer && filepath.Base(f) == "debug.log" {
|
||||
continue
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user