mirror of
https://github.com/danielmiessler/Fabric.git
synced 2026-02-13 07:25:10 -05:00
chore: reorder plugin configuration sequence in PluginRegistry.Configure method
## CHANGES - Move CustomPatterns.Configure() before PatternsLoader.Configure() - Adjust plugin initialization order in Configure method - Ensure proper dependency sequence for pattern loading
This commit is contained in:
@@ -259,8 +259,8 @@ func (o *PluginRegistry) GetModels() (ret *ai.VendorsModels, err error) {
|
||||
func (o *PluginRegistry) Configure() (err error) {
|
||||
o.ConfigureVendors()
|
||||
_ = o.Defaults.Configure()
|
||||
_ = o.PatternsLoader.Configure()
|
||||
_ = o.CustomPatterns.Configure()
|
||||
_ = o.PatternsLoader.Configure()
|
||||
|
||||
// Refresh the database custom patterns directory after custom patterns plugin is configured
|
||||
customPatternsDir := os.Getenv("CUSTOM_PATTERNS_DIRECTORY")
|
||||
|
||||
Reference in New Issue
Block a user