diff options
author | Ritu Sood <ritu.sood@intel.com> | 2021-04-02 13:14:11 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-04-02 13:14:11 +0000 |
commit | e9a12efd25a570e64b728d8fc482939a727e9214 (patch) | |
tree | a0806977f1f153380a9dad9bd84679d9a9eb0ff1 /src/k8splugin/internal/healthcheck/kubeclient.go | |
parent | 705fad712373e73463fff22a3136e6e92b372048 (diff) | |
parent | 120019529489b5cbcf82d77eec228283fb12d43a (diff) |
Merge "Fix Healthcheck API"
Diffstat (limited to 'src/k8splugin/internal/healthcheck/kubeclient.go')
-rw-r--r-- | src/k8splugin/internal/healthcheck/kubeclient.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/k8splugin/internal/healthcheck/kubeclient.go b/src/k8splugin/internal/healthcheck/kubeclient.go index be4c6fcc..2a168a78 100644 --- a/src/k8splugin/internal/healthcheck/kubeclient.go +++ b/src/k8splugin/internal/healthcheck/kubeclient.go @@ -25,13 +25,15 @@ import ( //implements environment.KubeClient but overrides it so that //custom labels can be injected into created resources -// using internal k8sClient +//using internal k8sClient type KubeClientImpl struct { environment.KubeClient labels map[string]string k app.KubernetesClient } +var _ environment.KubeClient = KubeClientImpl{} + func NewKubeClient(instanceId, cloudRegion string) (*KubeClientImpl, error) { k8sClient := app.KubernetesClient{} err := k8sClient.Init(cloudRegion, instanceId) |