confluentinc / cli

CLI for Confluent Cloud and Confluent Platform
https://docs.confluent.io/confluent-cli/current/overview.html
Other
56 stars 10 forks source link

Fixes webui not reading URL from env variable #2910

Closed vsantwana closed 1 week ago

vsantwana commented 3 weeks ago

Release Notes

Breaking Changes

New Features

Bug Fixes

Checklist

What

When the URL of the CMF server is exported using:

export CONFLUENT_CMF_URL=http://localhost:8080

The forward-web-ui command doesn’t work

confluent flink application web-ui-forward basic-example --environment default --port 8090
Error: required flag(s) "url" not set
Usage:
  confluent flink application web-ui-forward <name> [flags]

Removing this check cobra.CheckErr(cmd.MarkFlagRequired("url")) and reading from the env variable if the flag is not set.

References

Test & Review

confluent-cla-assistant[bot] commented 3 weeks ago

:tada: All Contributor License Agreements have been signed. Ready to merge.
Please push an empty commit if you would like to re-run the checks to verify CLA status for all contributors.