pkg/terminal: do not use deprecated strings.Title (#3756)
This commit is contained in:
parent
ed2960b01c
commit
82ff628751
@ -3522,7 +3522,7 @@ func formatBreakpointName(bp *api.Breakpoint, upcase bool) string {
|
||||
thing = "watchpoint"
|
||||
}
|
||||
if upcase {
|
||||
thing = strings.Title(thing)
|
||||
thing = strings.ToUpper(string(thing[0])) + thing[1:]
|
||||
}
|
||||
id := bp.Name
|
||||
if id == "" {
|
||||
|
Loading…
Reference in New Issue
Block a user