Skip to content

Commit

Permalink
Add in default server URL to automatically connect to uc server
Browse files Browse the repository at this point in the history
  • Loading branch information
pflooky committed Jun 14, 2024
1 parent adef8be commit 450fb7c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/uc-docker
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ quoted_args_str="${quoted_args[*]}"
# echo "Quoted arguments: $quoted_args_str"

CLI_JAVA_COMMAND="java -cp unitycatalog-cli.jar io.unitycatalog.cli.UnityCatalogCli"
SERVER_URL=${SERVER_URL:-http://localhost:8081}
# echo "Running command: $CLI_JAVA_COMMAND"
eval "$CLI_JAVA_COMMAND" "$quoted_args_str" || exit
eval "$CLI_JAVA_COMMAND" --server "$SERVER_URL" "$quoted_args_str" || exit

0 comments on commit 450fb7c

Please sign in to comment.