Add help task (#4891)

* Add help task
* Fix vet errors
This commit is contained in:
Manuel Alejandro de Brito Fontes 2020-01-07 10:53:12 -03:00 committed by GitHub
parent 0a7913a45a
commit 5f6c4cff3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 52 additions and 50 deletions

View file

@ -923,7 +923,7 @@ func TestGetIngressInformation(t *testing.T) {
},
"valid ingress definition with name validIng in namespace default": {
&ingress.Ingress{
networking.Ingress{
Ingress: networking.Ingress{
ObjectMeta: metav1.ObjectMeta{
Name: "validIng",
Namespace: apiv1.NamespaceDefault,
@ -937,7 +937,6 @@ func TestGetIngressInformation(t *testing.T) {
},
},
},
nil,
},
"host1",
"",
@ -952,7 +951,7 @@ func TestGetIngressInformation(t *testing.T) {
},
"valid ingress definition with name demo in namespace something and path /ok using a service with name b-svc port 80": {
&ingress.Ingress{
networking.Ingress{
Ingress: networking.Ingress{
ObjectMeta: metav1.ObjectMeta{
Name: "demo",
Namespace: "something",
@ -982,7 +981,6 @@ func TestGetIngressInformation(t *testing.T) {
},
},
},
nil,
},
"foo.bar",
"/ok",