Commit c00828c
committed
[yugabyte#5592] Do not set YB_HOME_DIR in onprem provider config if empty
Summary:
This changed in
yugabyte@42cc19e. This diff changes the java and python code to handle an empty YB_HOME_DIR better but also removes the empty YB_HOME_DIR if it was not set by the user. This is consistent with the way other providers take optional parameters.
Test Plan:
1. Create an onprem provider with an home dir set, verify
it goes through and that YB_HOME_DIR is not set.
2. Create a provider without the UI fix. Check that YB_HOME_DIR is set
to empty in the provider. Create a universe with this provider, verify
it goes through.
Reviewers: wesley, daniel
Reviewed By: daniel
Subscribers: jenkins-bot, yugaware
Differential Revision: https://phabricator.dev.yugabyte.com/D93161 parent e96c786 commit c00828c
File tree
3 files changed
+7
-4
lines changed- managed
- devops/opscli/ybops/utils
- src/main/java/com/yugabyte/yw/models
- ui/src/components/config/OnPrem/wizard
3 files changed
+7
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
99 | 103 | | |
100 | 104 | | |
101 | 105 | | |
| |||
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
| 41 | + | |
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
| |||
0 commit comments