aboutsummaryrefslogtreecommitdiffstats
path: root/src/k8splugin/api/queryhandler.go
diff options
context:
space:
mode:
authorLukasz Rajewski <lukasz.rajewski@orange.com>2021-10-12 00:16:51 +0200
committerLukasz Rajewski <lukasz.rajewski@orange.com>2021-10-12 00:20:56 +0200
commit7e265aa8286a5e77ddc63fe2f9e20c776792e2f1 (patch)
treeb86cf4d75675365e569e45d1ada45c77b9f65cee /src/k8splugin/api/queryhandler.go
parent2d9e8566cbd81e6feb7e3068f6ff089fdc3a93d9 (diff)
Fixed Query api filtering of resources for Instance
Issue-ID: MULTICLOUD-1409 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: Id91d121fab264ccbe0096c99bcc29c18e7ee3b2b
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,