Skip to content

Commit

Permalink
changed zk URL (#140)
Browse files Browse the repository at this point in the history
Signed-off-by: anisha.kj <[email protected]>
  • Loading branch information
anishakj authored Mar 12, 2020
1 parent 1c4e3f1 commit a153e32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/utils/zookeeper_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const (

func GetZkServiceUri(zoo *v1beta1.ZookeeperCluster) (zkUri string) {
zkClientPort, _ := ContainerPortByName(zoo.Spec.Ports, "client")
zkUri = zoo.GetClientServiceName() + ":" + strconv.Itoa(int(zkClientPort))
zkUri = zoo.GetClientServiceName() + "." + zoo.GetNamespace() + ".svc.cluster.local:" + strconv.Itoa(int(zkClientPort))
return zkUri
}

Expand Down

0 comments on commit a153e32

Please sign in to comment.