mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 07:27:21 +00:00
Spelling fixes inspired by github.com/client9/misspell
This commit is contained in:
@@ -122,7 +122,7 @@ func IntPtr(i int) *int {
|
||||
return &o
|
||||
}
|
||||
|
||||
// IntPtrDerefOr derefrence the int ptr and returns it i not nil,
|
||||
// IntPtrDerefOr dereference the int ptr and returns it i not nil,
|
||||
// else returns def.
|
||||
func IntPtrDerefOr(ptr *int, def int) int {
|
||||
if ptr != nil {
|
||||
|
||||
Reference in New Issue
Block a user