Lint code using staticcheck (#4471)
This commit is contained in:
parent
8f09acac2b
commit
fcd3054f13
16 changed files with 32 additions and 41 deletions
|
|
@ -142,7 +142,7 @@ var _ = framework.IngressNginxDescribe("Ingress class", func() {
|
|||
Expect(resp.StatusCode).Should(Equal(http.StatusOK))
|
||||
|
||||
delete(ing.Annotations, "kubernetes.io/ingress.class")
|
||||
ing = f.EnsureIngress(ing)
|
||||
f.EnsureIngress(ing)
|
||||
|
||||
f.WaitForNginxConfiguration(func(cfg string) bool {
|
||||
return !strings.Contains(cfg, "server_name foo")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue