Skip to content

Commit

Permalink
fix $ issue
Browse files Browse the repository at this point in the history
  • Loading branch information
vdesabou committed Aug 1, 2023
1 parent b0256a5 commit 591c157
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions scripts/cli/playground
Original file line number Diff line number Diff line change
Expand Up @@ -12038,7 +12038,7 @@ playground_ccloud_connector_show_config_command() {
log "🧰 Current config for ccloud connector $connector"
json_config=$(curl $security -s -X GET -H "Content-Type: application/json" "https://api.confluent.cloud/connect/v1/environments/$environment/clusters/$cluster/connectors/$connector/config" --header "authorization: Basic $authorization")
echo "playground ccloud-connector create-or-update --connector $connector << EOF"
echo "$json_config" | jq -S .
echo "$json_config" | jq -S . | sed 's/\$/\\$/g'
echo "EOF"
done
}
Expand Down Expand Up @@ -12764,7 +12764,7 @@ playground_connector_show_config_command() {
log "🧰 Current config for connector $connector"
json_config=$(curl $security -s -X GET -H "Content-Type: application/json" "$connect_url/connectors/$connector/config")
echo "playground connector create-or-update --connector $connector << EOF"
echo "$json_config" | jq -S .
echo "$json_config" | jq -S . | sed 's/\$/\\$/g'
echo "EOF"
done
}
Expand Down
2 changes: 1 addition & 1 deletion scripts/cli/src/ccloud_connector_show_config_command.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ do
log "🧰 Current config for ccloud connector $connector"
json_config=$(curl $security -s -X GET -H "Content-Type: application/json" "https://api.confluent.cloud/connect/v1/environments/$environment/clusters/$cluster/connectors/$connector/config" --header "authorization: Basic $authorization")
echo "playground ccloud-connector create-or-update --connector $connector << EOF"
echo "$json_config" | jq -S .
echo "$json_config" | jq -S . | sed 's/\$/\\$/g'
echo "EOF"
done
2 changes: 1 addition & 1 deletion scripts/cli/src/connector_show_config_command.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ do
log "🧰 Current config for connector $connector"
json_config=$(curl $security -s -X GET -H "Content-Type: application/json" "$connect_url/connectors/$connector/config")
echo "playground connector create-or-update --connector $connector << EOF"
echo "$json_config" | jq -S .
echo "$json_config" | jq -S . | sed 's/\$/\\$/g'
echo "EOF"
done

0 comments on commit 591c157

Please sign in to comment.