-
Notifications
You must be signed in to change notification settings - Fork 787
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Use requirements gitServer as default for import, create env
`opts.AddGitRepoOptionsArguments` defaults `--git-provider-url` to `https://github.com`, no matter what the actual default should be for the cluster. This makes sense for some of the cases where it's used (i.e., `jx install`, `jx create cluster`, `jx create terraform`, etc), but not for others (`jx import` (and therefore `jx create quickstart`), `jx edit env`, and `jx create env`). In those cases, we should default it to the `gitServer` in the team settings. Except we don't actually set that with `jx boot`! It just stays on `https://github.com`. So we also need to set that from the requirements. fixes #6579 Signed-off-by: Andrew Bayer <[email protected]>
- Loading branch information
1 parent
a74467a
commit 4462cfd
Showing
3 changed files
with
15 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters