Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
0b414499
Commit
0b414499
authored
Apr 16, 2015
by
Wojciech Tyczynski
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6906 from markturansky/typos
Fixed typos in comments
parents
65d132a3
34924af6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
fake_controller_source.go
pkg/controller/framework/fake_controller_source.go
+2
-2
No files found.
pkg/controller/framework/fake_controller_source.go
View file @
0b414499
...
...
@@ -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 inadvert
a
ntly change the our canonical copy (in
// will inadvert
e
ntly 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 inadvert
a
ntly change the our
// it back, they will inadvert
e
ntly change the our
// canonical copy (in addition to racing with other
// clients).
objCopy
,
err
:=
conversion
.
DeepCopy
(
c
.
Object
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment