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
e77e8ffb
Unverified
Commit
e77e8ffb
authored
Oct 22, 2018
by
k8s-ci-robot
Committed by
GitHub
Oct 22, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #69730 from xichengliudui/fix18101204
Fix some typo
parents
fcf11b47
ef496320
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
daemon_controller_test.go
pkg/controller/daemon/daemon_controller_test.go
+1
-1
resttest.go
...c/k8s.io/apiserver/pkg/registry/rest/resttest/resttest.go
+1
-1
No files found.
pkg/controller/daemon/daemon_controller_test.go
View file @
e77e8ffb
...
...
@@ -524,7 +524,7 @@ func TestSimpleDaemonSetScheduleDaemonSetPodsLaunchesPods(t *testing.T) {
}
if
len
(
nodeSelector
.
NodeSelectorTerms
[
0
]
.
MatchFields
)
!=
1
{
t
.
Fatalf
(
"incorrect number of fields in
in
node selector term for pod %s, expected: 1, got: %d."
,
t
.
Fatalf
(
"incorrect number of fields in node selector term for pod %s, expected: 1, got: %d."
,
pod
.
Name
,
len
(
nodeSelector
.
NodeSelectorTerms
[
0
]
.
MatchFields
))
}
...
...
staging/src/k8s.io/apiserver/pkg/registry/rest/resttest/resttest.go
View file @
e77e8ffb
...
...
@@ -1166,7 +1166,7 @@ func (t *Tester) testDeleteGracefulShorten(obj runtime.Object, createFn CreateFu
// testGetDifferentNamespace ensures same-name objects in different namespaces do not clash
func
(
t
*
Tester
)
testGetDifferentNamespace
(
obj
runtime
.
Object
)
{
if
t
.
clusterScope
{
t
.
Fatalf
(
"the test does not work in
in
cluster-scope"
)
t
.
Fatalf
(
"the test does not work in cluster-scope"
)
}
objMeta
:=
t
.
getObjectMetaOrFail
(
obj
)
...
...
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