This is an automated email from the ASF dual-hosted git repository.

lingsamuel pushed a commit to branch 1.7.0
in repository https://gitbox.apache.org/repos/asf/apisix-ingress-controller.git


The following commit(s) were added to refs/heads/1.7.0 by this push:
     new b42ed7e3 fix: plugin_metadata not populating to the correct etcd key 
(#2012) (#2021)
b42ed7e3 is described below

commit b42ed7e3636b0a33e183ff8df17c7c622ae39632
Author: Sarasa Kisaragi <[email protected]>
AuthorDate: Tue Oct 24 11:54:00 2023 +0800

    fix: plugin_metadata not populating to the correct etcd key (#2012) (#2021)
    
    * fix: plugin_metadata not populating to the correct etcd key
    
    * fix url also
    
    (cherry picked from commit 4d004e1a5a824bc48383e37ef7755b9aafb6aaac)
    
    Co-authored-by: zhuoyang <[email protected]>
---
 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,
        }
 }

Reply via email to