Skip to content

Commit

Permalink
fix: plugin_config ingore etcd prefix configure (#2226)
Browse files Browse the repository at this point in the history
  • Loading branch information
MizuhaHimuraki authored Nov 30, 2021
1 parent b788ab3 commit d7b7722
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/internal/core/store/storehub.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ func InitStores() error {
}

err = InitStore(HubKeyPluginConfig, GenericStoreOption{
BasePath: "/apisix/plugin_configs",
BasePath: conf.ETCDConfig.Prefix + "/plugin_configs",
ObjType: reflect.TypeOf(entity.PluginConfig{}),
KeyFunc: func(obj interface{}) string {
r := obj.(*entity.PluginConfig)
Expand Down

0 comments on commit d7b7722

Please sign in to comment.