Provisioning: Fix bug when provision app plugins using Enterprise edition (#26340)

In OSS provisioning service init after plugin registration, but in
Enterprise it's the opposite order and installed app plugin check
fails. This adjusts service registry init priority to make sure plugins
are registered before provisioning inits.

Which issue(s) this PR fixes:
Fixes #26336
This commit is contained in:
Marcus Efraimsson authored and GitHub committed 2020-07-16 10:36:08 +02:00
1 parent 35f7f7b50a
commit b97d1f4170
4 files changed
+18 -21

No files matched your search

+1 -5
View File
@@ -34,11 +34,7 @@ var (
)
func init() {
registry.Register(&registry.Descriptor{
Name: "BackendPluginManager",
Instance: &manager{},
InitPriority: registry.Low,
})
registry.RegisterService(&manager{})
}
// Manager manages backend plugins.