From 5b7cd378ec30d6a1309b8e5ece6071431172abfa Mon Sep 17 00:00:00 2001 From: Sichao Wang Date: Sat, 9 Nov 2024 03:56:35 +0000 Subject: [PATCH] Fix typo --- kubetest2/internal/deployers/eksapi/static_cluster.go | 2 +- kubetest2/internal/deployers/eksapi/templates/templates.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kubetest2/internal/deployers/eksapi/static_cluster.go b/kubetest2/internal/deployers/eksapi/static_cluster.go index 8afcdb911..945caee5d 100644 --- a/kubetest2/internal/deployers/eksapi/static_cluster.go +++ b/kubetest2/internal/deployers/eksapi/static_cluster.go @@ -84,7 +84,7 @@ func (s *StaticClusterManager) CreateNodePool() error { t := templates.NvidiaStaticClusterNodepool var buf bytes.Buffer - if err := t.Execute(&buf, templates.NvidiaStaticClusterNodepoolTempalteData{ + if err := t.Execute(&buf, templates.NvidiaStaticClusterNodepoolTemplateData{ Arch: arch, InstanceTypes: s.options.InstanceTypes, }); err != nil { diff --git a/kubetest2/internal/deployers/eksapi/templates/templates.go b/kubetest2/internal/deployers/eksapi/templates/templates.go index 2fcb7cf6c..8a87ca833 100644 --- a/kubetest2/internal/deployers/eksapi/templates/templates.go +++ b/kubetest2/internal/deployers/eksapi/templates/templates.go @@ -26,7 +26,7 @@ type BusyboxDeploymentTemplateData struct { Nodes int } -type nvidiaStaticClusterNodepoolTemplateData struct { +type NvidiaStaticClusterNodepoolTemplateData struct { Arch string InstanceTypes []string }