Skip to content

Commit

Permalink
fix: plugin_metadata not populating to the correct etcd key (#2012) (#…
Browse files Browse the repository at this point in the history
…2021)

* fix: plugin_metadata not populating to the correct etcd key

* fix url also

(cherry picked from commit 4d004e1)

Co-authored-by: zhuoyang <zhuoyang98@gmail.com>
  • Loading branch information
lingsamuel and zhuoyang committed Oct 24, 2023
1 parent a07a30b commit b42ed7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/apisix/plugin_metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
}
Expand Down

0 comments on commit b42ed7e

Please sign in to comment.