Skip to content

Commit

Permalink
feat(kuma-cp): allow to override resource store plugin (#6887)
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com>
  • Loading branch information
jakubdyszkiewicz authored May 31, 2023
1 parent cc5fad5 commit a0fd551
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/core/plugins/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,6 @@ func (r *registry) Register(name PluginName, plugin Plugin) error {
r.bootstrap[name] = bp
}
if rsp, ok := plugin.(ResourceStorePlugin); ok {
if old, exists := r.resourceStore[name]; exists {
return pluginAlreadyRegisteredError(resourceStorePlugin, name, old, rsp)
}
r.resourceStore[name] = rsp
}
if ssp, ok := plugin.(SecretStorePlugin); ok {
Expand Down

0 comments on commit a0fd551

Please sign in to comment.