mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 23:17:50 +00:00
move KubeletConfiguration out of componentconfig API group
This commit is contained in:
@@ -19,7 +19,7 @@ package app
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"k8s.io/kubernetes/pkg/apis/componentconfig"
|
||||
"k8s.io/kubernetes/pkg/kubelet/apis/kubeletconfig"
|
||||
)
|
||||
|
||||
func TestValueOfAllocatableResources(t *testing.T) {
|
||||
@@ -50,8 +50,8 @@ func TestValueOfAllocatableResources(t *testing.T) {
|
||||
}
|
||||
|
||||
for _, test := range testCases {
|
||||
kubeReservedCM := make(componentconfig.ConfigurationMap)
|
||||
systemReservedCM := make(componentconfig.ConfigurationMap)
|
||||
kubeReservedCM := make(kubeletconfig.ConfigurationMap)
|
||||
systemReservedCM := make(kubeletconfig.ConfigurationMap)
|
||||
|
||||
kubeReservedCM.Set(test.kubeReserved)
|
||||
systemReservedCM.Set(test.systemReserved)
|
||||
|
||||
Reference in New Issue
Block a user