diff options
author | Ritu Sood <ritu.sood@intel.com> | 2021-03-09 17:46:32 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-03-09 17:46:32 +0000 |
commit | 68def373cb0e2a4fd5b0af867797cc39ac81b1e0 (patch) | |
tree | 69cc4783371dcef6710aa5c7ad4346841ccd8aa2 /src/k8splugin/api/api.go | |
parent | d8cceb1f629eb45752d1eee01420cdaec38958c9 (diff) | |
parent | b00a7930a27afed7ba2576378aeecc75fb0759f3 (diff) |
Merge "Correct Query API endpoint registration"
Diffstat (limited to 'src/k8splugin/api/api.go')
-rw-r--r-- | src/k8splugin/api/api.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/k8splugin/api/api.go b/src/k8splugin/api/api.go index 2c53a297..4a196ae2 100644 --- a/src/k8splugin/api/api.go +++ b/src/k8splugin/api/api.go @@ -47,9 +47,9 @@ func NewRouter(defClient rb.DefinitionManager, Queries("rb-name", "{rb-name}", "rb-version", "{rb-version}", "profile-name", "{profile-name}").Methods("GET") - instRouter.HandleFunc("/instance/{instID}", instHandler.getHandler).Methods("GET") instRouter.HandleFunc("/instance/{instID}/status", instHandler.statusHandler).Methods("GET") + instRouter.HandleFunc("/instance/{instID}/query", instHandler.queryHandler).Methods("GET") instRouter.HandleFunc("/instance/{instID}/query", instHandler.queryHandler). Queries("ApiVersion", "{ApiVersion}", "Kind", "{Kind}", |