Skip to content

Commit

Permalink
set +e
Browse files Browse the repository at this point in the history
  • Loading branch information
vdesabou committed Feb 14, 2024
1 parent 8fd47bd commit 979cc85
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions scripts/cli/playground
Original file line number Diff line number Diff line change
Expand Up @@ -18637,11 +18637,13 @@ playground_connector_create_or_update_command() {
playground connector show-config-parameters --connector "$connector" --only-show-json
log "🥁 Waiting a few seconds to get new status"
sleep 5
set +e
playground connector status --connector $connector
if [ "$connector_type" == "$CONNECTOR_TYPE_ONPREM" ] || [ "$connector_type" == "$CONNECTOR_TYPE_SELF_MANAGED" ]
then
playground connector open-docs --only-show-url
fi
set -e
}

# :command.function
Expand Down
4 changes: 3 additions & 1 deletion scripts/cli/src/commands/connector/create-or-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,10 @@ fi
playground connector show-config-parameters --connector "$connector" --only-show-json
log "🥁 Waiting a few seconds to get new status"
sleep 5
set +e
playground connector status --connector $connector
if [ "$connector_type" == "$CONNECTOR_TYPE_ONPREM" ] || [ "$connector_type" == "$CONNECTOR_TYPE_SELF_MANAGED" ]
then
playground connector open-docs --only-show-url
fi
fi
set -e

0 comments on commit 979cc85

Please sign in to comment.