mirror of https://github.com/k3s-io/k3s
#50598: Formatted code using gofmt
parent
f52ae0a68f
commit
2ee936a0ca
|
@ -519,7 +519,7 @@ func resourcePodSpec(nodeName, memory, cpu string) v1.PodSpec {
|
|||
}
|
||||
|
||||
func resourceContainerSpec(memory, cpu string) v1.ResourceRequirements {
|
||||
return v1.ResourceRequirements {
|
||||
return v1.ResourceRequirements{
|
||||
Requests: allocatableResources(memory, cpu),
|
||||
}
|
||||
}
|
||||
|
@ -1406,7 +1406,7 @@ func setDaemonSetCritical(ds *extensions.DaemonSet) {
|
|||
|
||||
func TestNodeShouldRunDaemonPod(t *testing.T) {
|
||||
cases := []struct {
|
||||
predicateName string
|
||||
predicateName string
|
||||
podsOnNode []*v1.Pod
|
||||
nodeCondition []v1.NodeCondition
|
||||
ds *extensions.DaemonSet
|
||||
|
|
Loading…
Reference in New Issue