Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions changelog/v0.30.1/fix-typo-occurred.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
changelog:
- type: NON_USER_FACING
description: |
Fix a typo in the GetFreePort error message ('occured' -> 'occurred').
resolvesIssue: false
2 changes: 1 addition & 1 deletion cliutils/port_forward.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func GetFreePort() (int, error) {
defer l.Close()
tcpAddr, ok := l.Addr().(*net.TCPAddr)
if !ok {
return 0, errors.Errorf("Error occured looking for an open tcp port")
return 0, errors.Errorf("Error occurred looking for an open tcp port")
}
return tcpAddr.Port, nil
}