summaryrefslogtreecommitdiffstats
path: root/src/k8splugin/api/queryhandler.go
diff options
context:
space:
mode:
authorRitu Sood <ritu.sood@intel.com>2021-10-15 13:57:46 +0000
committerGerrit Code Review <gerrit@onap.org>2021-10-15 13:57:46 +0000
commit206e9ecc81c4eec81a0471b4a24f3ae206bfe744 (patch)
tree74bd19558f5a0ee4d87184dbcccefb34fff019e4 /src/k8splugin/api/queryhandler.go
parentce1651b36bcfc8023b4d6aa5a463ada9f6495751 (diff)
parent7e265aa8286a5e77ddc63fe2f9e20c776792e2f1 (diff)
Merge "Fixed Query api filtering of resources for Instance"
Diffstat (limited to 'src/k8splugin/api/queryhandler.go')
-rw-r--r--src/k8splugin/api/queryhandler.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/k8splugin/api/queryhandler.go b/src/k8splugin/api/queryhandler.go
index 9c11954c..f5950cdf 100644
--- a/src/k8splugin/api/queryhandler.go
+++ b/src/k8splugin/api/queryhandler.go
@@ -52,7 +52,7 @@ func (i queryHandler) queryHandler(w http.ResponseWriter, r *http.Request) {
return
}
// instance id is irrelevant here
- resp, err := i.client.Query(namespace, cloudRegion, apiVersion, kind, name, labels, "query")
+ resp, err := i.client.Query(namespace, cloudRegion, apiVersion, kind, name, labels)
if err != nil {
log.Error("Error getting Query results", log.Fields{
"error": err,