Commit e602a92
authored
Remove no-op
## Summary
`SelectWarehouse` in `libs/databrickscfg/cfgpickers/warehouses.go` contains:
```go
promptui.SearchPrompt = "Search: "
```
This assigns the package-level global to its own default. promptui
declares it
[here](https://github.com/manifoldco/promptui/blob/v0.9.0/select.go#L184)
as `var SearchPrompt = "Search: "` — byte-identical to what we set. The
line is the only write to `promptui.SearchPrompt` in the repo.
It was introduced in #4170 alongside the template-init warehouse picker.
The original warehouse picker (`AskForWarehouse`, added in #956) never
had it, which suggests it's copy-paste residue rather than a deliberate
override.
## Test plan
- [x] `go build ./libs/databrickscfg/cfgpickers/`
- [x] No behavior change expected — value matches promptui's default
This pull request and its description were written by Isaac.promptui.SearchPrompt assignment in warehouse picker (#5168)1 parent e95f44f commit e602a92
1 file changed
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
| |||
225 | 224 | | |
226 | 225 | | |
227 | 226 | | |
228 | | - | |
229 | 227 | | |
230 | 228 | | |
231 | 229 | | |
| |||
0 commit comments