Merge pull request #111372 from HeavenTonight/master

code cleanup
This commit is contained in:
Kubernetes Prow Robot
2023-03-10 11:44:40 -08:00
committed by GitHub
5 changed files with 11 additions and 11 deletions

View File

@@ -267,7 +267,7 @@ var _ = SIGDescribe("Addon update", func() {
svcAddonEnsureExists := "addon-ensure-exists-service.yaml"
svcAddonEnsureExistsUpdated := "addon-ensure-exists-service-updated.yaml"
var remoteFiles []stringPair = []stringPair{
var remoteFiles = []stringPair{
{fmt.Sprintf(reconcileAddonController, addonNsName, serveHostnameImage), rcAddonReconcile},
{fmt.Sprintf(reconcileAddonControllerUpdated, addonNsName, serveHostnameImage), rcAddonReconcileUpdated},
{fmt.Sprintf(deprecatedLabelAddonService, addonNsName), svcAddonDeprecatedLabel},

View File

@@ -52,7 +52,7 @@ var _ = SIGDescribe("[Feature:Windows] Cpu Resources [Serial]", func() {
ginkgo.By("Waiting 2 minutes")
time.Sleep(2 * time.Minute)
ginkgo.By("Ensuring pods are still running")
var allPods [](*v1.Pod)
var allPods []*v1.Pod
for _, p := range podsDecimal {
pod, err := f.ClientSet.CoreV1().Pods(f.Namespace.Name).Get(
ctx,