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
2ee936a0
Commit
2ee936a0
authored
Nov 08, 2017
by
Bartlomiej Antoniak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#50598: Formatted code using gofmt
parent
f52ae0a6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
daemon_controller_test.go
pkg/controller/daemon/daemon_controller_test.go
+2
-2
No files found.
pkg/controller/daemon/daemon_controller_test.go
View file @
2ee936a0
...
@@ -519,7 +519,7 @@ func resourcePodSpec(nodeName, memory, cpu string) v1.PodSpec {
...
@@ -519,7 +519,7 @@ func resourcePodSpec(nodeName, memory, cpu string) v1.PodSpec {
}
}
func
resourceContainerSpec
(
memory
,
cpu
string
)
v1
.
ResourceRequirements
{
func
resourceContainerSpec
(
memory
,
cpu
string
)
v1
.
ResourceRequirements
{
return
v1
.
ResourceRequirements
{
return
v1
.
ResourceRequirements
{
Requests
:
allocatableResources
(
memory
,
cpu
),
Requests
:
allocatableResources
(
memory
,
cpu
),
}
}
}
}
...
@@ -1406,7 +1406,7 @@ func setDaemonSetCritical(ds *extensions.DaemonSet) {
...
@@ -1406,7 +1406,7 @@ func setDaemonSetCritical(ds *extensions.DaemonSet) {
func
TestNodeShouldRunDaemonPod
(
t
*
testing
.
T
)
{
func
TestNodeShouldRunDaemonPod
(
t
*
testing
.
T
)
{
cases
:=
[]
struct
{
cases
:=
[]
struct
{
predicateName
string
predicateName
string
podsOnNode
[]
*
v1
.
Pod
podsOnNode
[]
*
v1
.
Pod
nodeCondition
[]
v1
.
NodeCondition
nodeCondition
[]
v1
.
NodeCondition
ds
*
extensions
.
DaemonSet
ds
*
extensions
.
DaemonSet
...
...
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