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
(cherry picked from commit b97d1f4170)
This commit is contained in:
committed by
Dominik Prokop
parent
7ac9057f71
commit
7d7f2d9262
@@ -34,11 +34,7 @@ var (
|
||||
)
|
||||
|
||||
func init() {
|
||||
registry.Register(®istry.Descriptor{
|
||||
Name: "BackendPluginManager",
|
||||
Instance: &manager{},
|
||||
InitPriority: registry.Low,
|
||||
})
|
||||
registry.RegisterService(&manager{})
|
||||
}
|
||||
|
||||
// Manager manages backend plugins.
|
||||
|
||||
Reference in New Issue
Block a user