mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Fix typos
This commit is contained in:
parent
b74854895e
commit
755d4d441a
@ -244,7 +244,7 @@ func (c *Converter) convert(sv, dv reflect.Value, scope *scope) error {
|
||||
}
|
||||
args := []reflect.Value{sv.Addr(), dv.Addr(), reflect.ValueOf(scope)}
|
||||
ret := fv.Call(args)[0].Interface()
|
||||
// This convolution is necssary because nil interfaces won't convert
|
||||
// This convolution is necessary because nil interfaces won't convert
|
||||
// to errors.
|
||||
if ret == nil {
|
||||
return nil
|
||||
|
@ -45,7 +45,7 @@ type SelfLinker interface {
|
||||
SetSelfLink(obj Object, selfLink string) error
|
||||
SelfLink(obj Object) (string, error)
|
||||
|
||||
// Knowing ID is sometimes necssary to use a SelfLinker.
|
||||
// Knowing ID is sometimes necessary to use a SelfLinker.
|
||||
ID(obj Object) (string, error)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user