Kubemark: fix typos to be HollowKubeletOptions

This commit is contained in:
Hyeongju Johannes Lee
2022-09-20 14:44:24 +03:00
parent f0823c0f59
commit 963935ed2e
2 changed files with 5 additions and 5 deletions

View File

@@ -129,8 +129,8 @@ func (hk *HollowKubelet) Run() {
select {}
}
// HollowKubletOptions contains settable parameters for hollow kubelet.
type HollowKubletOptions struct {
// HollowKubeletOptions contains settable parameters for hollow kubelet.
type HollowKubeletOptions struct {
NodeName string
KubeletPort int
KubeletReadOnlyPort int
@@ -142,7 +142,7 @@ type HollowKubletOptions struct {
// Builds a KubeletConfiguration for the HollowKubelet, ensuring that the
// usual defaults are applied for fields we do not override.
func GetHollowKubeletConfig(opt *HollowKubletOptions) (*options.KubeletFlags, *kubeletconfig.KubeletConfiguration) {
func GetHollowKubeletConfig(opt *HollowKubeletOptions) (*options.KubeletFlags, *kubeletconfig.KubeletConfiguration) {
testRootDir := utils.MakeTempDirOrDie("hollow-kubelet.", "")
podFilePath := utils.MakeTempDirOrDie("static-pods", testRootDir)
klog.Infof("Using %s as root dir for hollow-kubelet", testRootDir)