Skip to content

Commit cd8b9a6

Browse files
committed
removed tmp
1 parent 731965a commit cd8b9a6

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

scripts/cli/src/lib/utils_function.sh

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1942,25 +1942,10 @@ function validate_ccloud_connector_up() {
19421942
trap 'rm -rf $tmp_dir_validate' EXIT
19431943

19441944
set +e
1945-
1946-
log "1"
1947-
1948-
playground --output-level ERROR connector show-config --connector "$1" --no-clipboard | grep -v "kafka.api.secret"
1949-
1950-
log "2"
1951-
cat "/tmp/config-$1"| grep -v "kafka.api.secret"
1952-
1953-
log "3"
1954-
cat "/tmp/config-$1" | jq -S . | sed 's/\$/\\$/g' | grep -v "kafka.api.secret"
1955-
1956-
1957-
19581945
playground --output-level ERROR connector show-config --connector "$1" --no-clipboard > "$tmp_dir_validate/update-connector-config.sh"
19591946
if [ $? -ne 1 ]
19601947
then
19611948
first_line=$(head -n 1 "$tmp_dir_validate/update-connector-config.sh")
1962-
1963-
cat "$tmp_dir_validate/update-connector-config.sh" | grep -v "kafka.api.secret"
19641949
if [[ $first_line == *"playground"* ]]
19651950
then
19661951
bash "$tmp_dir_validate/update-connector-config.sh" > /dev/null 2>&1

0 commit comments

Comments
 (0)