Skip to content

Commit

Permalink
show-config-parameters version issue #5651
Browse files Browse the repository at this point in the history
  • Loading branch information
vdesabou committed May 23, 2024
1 parent b942b08 commit c799e4f
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
10 changes: 8 additions & 2 deletions scripts/cli/playground
Original file line number Diff line number Diff line change
Expand Up @@ -4097,7 +4097,10 @@ playground_topic_consume_usage() {
# :command.usage
playground_topic_produce_usage() {
if [[ -n $long_usage ]]; then
printf "playground topic produce - 📤 Produce to a topic\n"
printf "playground topic produce\n"
echo

printf " 📤 Produce to a topic\n \n See video tutorial https://youtu.be/mbzHCewG_XE\n"
echo

else
Expand Down Expand Up @@ -7994,6 +7997,7 @@ function retry() {
display_docker_container_error_log
else
logerror "💀 The test $script (retriable) has failed after $n attempts."
display_docker_container_error_log
return 1
fi
else
Expand All @@ -8005,6 +8009,7 @@ function retry() {
display_docker_container_error_log
else
logerror "💀 The test $script (default_retry) has failed after $n attempts."
display_docker_container_error_log
return 1
fi
fi
Expand Down Expand Up @@ -21819,9 +21824,10 @@ playground_connector_show_config_parameters_command() {

class=$(_jq '.class')

if [ "$class" != "$connector_class" ]
if [ "$class" == "$connector_class" ]
then
version=$(_jq '.version')
break
fi
done
fi
Expand Down
2 changes: 1 addition & 1 deletion scripts/cli/playground.json
Original file line number Diff line number Diff line change
Expand Up @@ -1390,7 +1390,7 @@
},
{
"name": "produce",
"description": "📤 Produce to a topic\n",
"description": "📤 Produce to a topic\n \n See video tutorial https://youtu.be/mbzHCewG_XE\n",
"usage": "playground topic produce [OPTIONS]",
"options": [
{
Expand Down
2 changes: 2 additions & 0 deletions scripts/cli/playground.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1506,6 +1506,8 @@ subcommands:
- name: produce
description: |
📤 Produce to a topic
See video tutorial https://youtu.be/mbzHCewG_XE
usage: playground topic produce [OPTIONS]
options:
- names:
Expand Down
3 changes: 2 additions & 1 deletion scripts/cli/src/commands/connector/show-config-parameters.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,10 @@ do

class=$(_jq '.class')

if [ "$class" != "$connector_class" ]
if [ "$class" == "$connector_class" ]
then
version=$(_jq '.version')
break
fi
done
fi
Expand Down

0 comments on commit c799e4f

Please sign in to comment.