mirror of https://github.com/k3s-io/k3s
Fixed typos in comments
parent
65d132a3ee
commit
34924af63d
|
@ -128,7 +128,7 @@ func (f *FakeControllerSource) List() (runtime.Object, error) {
|
|||
for _, obj := range f.items {
|
||||
// Must make a copy to allow clients to modify the object.
|
||||
// Otherwise, if they make a change and write it back, they
|
||||
// will inadvertantly change the our canonical copy (in
|
||||
// will inadvertently change the our canonical copy (in
|
||||
// addition to racing with other clients).
|
||||
objCopy, err := conversion.DeepCopy(obj)
|
||||
if err != nil {
|
||||
|
@ -164,7 +164,7 @@ func (f *FakeControllerSource) Watch(resourceVersion string) (watch.Interface, e
|
|||
for _, c := range f.changes[rc:] {
|
||||
// Must make a copy to allow clients to modify the
|
||||
// object. Otherwise, if they make a change and write
|
||||
// it back, they will inadvertantly change the our
|
||||
// it back, they will inadvertently change the our
|
||||
// canonical copy (in addition to racing with other
|
||||
// clients).
|
||||
objCopy, err := conversion.DeepCopy(c.Object)
|
||||
|
|
Loading…
Reference in New Issue