Plugins: Replace CDN class with FS CDN type (#113968)

replace cdn class with fs type
This commit is contained in:
Will Browne
2025-11-20 14:03:24 +00:00
committed by GitHub
parent 3999d108f7
commit 7d179120b6
21 changed files with 122 additions and 114 deletions
+1 -2
View File
@@ -496,7 +496,7 @@ func (p *Plugin) IsCorePlugin() bool {
}
func (p *Plugin) IsExternalPlugin() bool {
return !p.IsCorePlugin()
return p.Class == ClassExternal
}
type Class string
@@ -504,7 +504,6 @@ type Class string
const (
ClassCore Class = "core"
ClassExternal Class = "external"
ClassCDN Class = "cdn"
)
func (c Class) String() string {