This is an automated email from the ASF dual-hosted git repository.
bzp2010 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-dashboard.git
The following commit(s) were added to refs/heads/master by this push:
new d7b7722 fix: plugin_config ingore etcd prefix configure (#2226)
d7b7722 is described below
commit d7b772235f1a13660541e6f52c4844a3bb7929f6
Author: MizuhaHimuraki <[email protected]>
AuthorDate: Tue Nov 30 12:11:17 2021 +0800
fix: plugin_config ingore etcd prefix configure (#2226)
---
api/internal/core/store/storehub.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/api/internal/core/store/storehub.go
b/api/internal/core/store/storehub.go
index 9ef224a..1184a3f 100644
--- a/api/internal/core/store/storehub.go
+++ b/api/internal/core/store/storehub.go
@@ -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)