summaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc/sdnc-prom/resources
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/sdnc/sdnc-prom/resources')
-rwxr-xr-xkubernetes/sdnc/sdnc-prom/resources/bin/sdnc.cluster2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/sdnc/sdnc-prom/resources/bin/sdnc.cluster b/kubernetes/sdnc/sdnc-prom/resources/bin/sdnc.cluster
index 76603410d4..bdfa1a440b 100755
--- a/kubernetes/sdnc/sdnc-prom/resources/bin/sdnc.cluster
+++ b/kubernetes/sdnc/sdnc-prom/resources/bin/sdnc.cluster
@@ -27,7 +27,7 @@ fi
for instance in $(seq $count);do
shard=member-$(( $memberStart + $instance ))-shard-default-config
mbean=Category=Shards,name=$shard,type=DistributedConfigDatastore
- url=http://{{.Release.Name}}-sdnc-$(( $instance-1 )).sdnc-cluster.{{.Release.Namespace}}:8181/jolokia/read/org.opendaylight.controller:$mbean
+ url=http://{{ include "common.release" . }}-sdnc-$(( $instance-1 )).sdnc-cluster.{{.Release.Namespace}}:8181/jolokia/read/org.opendaylight.controller:$mbean
response=$( curl -s -u $USERNAME:$PASSWORD $url )
rc=$?