code cleanup

Signed-off-by: guiyong.ou <guiyong.ou@daocloud.io>
This commit is contained in:
guiyong.ou
2022-07-24 21:16:21 +08:00
parent 5f6b60bb13
commit aa6d0f5bb0
5 changed files with 11 additions and 11 deletions

View File

@@ -50,7 +50,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(
context.TODO(),