You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by li...@apache.org on 2023/10/24 02:36:44 UTC
[apisix-ingress-controller] 01/01: fix: plugin_metadata not populating to the correct etcd key (#2012)
This is an automated email from the ASF dual-hosted git repository.
lingsamuel pushed a commit to branch cherrypick/v1.7.1/2012
in repository https://gitbox.apache.org/repos/asf/apisix-ingress-controller.git
commit 8c0bc76edfd3c6dcc626dbd6bd5bebc0892cd025
Author: zhuoyang <zh...@gmail.com>
AuthorDate: Tue Oct 24 10:00:32 2023 +0800
fix: plugin_metadata not populating to the correct etcd key (#2012)
* fix: plugin_metadata not populating to the correct etcd key
* fix url also
(cherry picked from commit 4d004e1a5a824bc48383e37ef7755b9aafb6aaac)
---
pkg/apisix/plugin_metadata.go | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pkg/apisix/plugin_metadata.go b/pkg/apisix/plugin_metadata.go
index 8d0f79bd..64db9f9d 100644
--- a/pkg/apisix/plugin_metadata.go
+++ b/pkg/apisix/plugin_metadata.go
@@ -178,8 +178,8 @@ type pluginMetadataMem struct {
func newPluginMetadataMem(c *cluster) PluginMetadata {
return &pluginMetadataMem{
- url: c.baseURL + "/plugin_metadatas",
- resource: "plugin_metadatas",
+ url: c.baseURL + "/plugin_metadata",
+ resource: "plugin_metadata",
cluster: c,
}
}