Skip to content

Commit 4176282

Browse files
committed
fix
1 parent fd534c7 commit 4176282

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/cli/src/lib/utils_function.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -938,7 +938,7 @@ retrycmd() {
938938

939939
# for RBAC, taken from cp-demo
940940
function host_check_kafka_cluster_registered() {
941-
KAFKA_CLUSTER_ID=$(confluent cluster describe --url http://broker:8091 --output json | jq -r .scope[0].id)
941+
KAFKA_CLUSTER_ID=$(docker container exec zookeeper zookeeper-shell zookeeper:2181 get /cluster/id 2> /dev/null | grep \"version\" | jq -r .id)
942942
if [ -z "$KAFKA_CLUSTER_ID" ]; then
943943
return 1
944944
fi

0 commit comments

Comments
 (0)