diff --git a/internal/ingress/annotations/auth/main.go b/internal/ingress/annotations/auth/main.go index 79e3ce5d38..840b3c61cd 100644 --- a/internal/ingress/annotations/auth/main.go +++ b/internal/ingress/annotations/auth/main.go @@ -242,7 +242,7 @@ func (a auth) Parse(ing *networking.Ingress) (interface{}, error) { }, nil } -// dumpSecret dumps the content of a secret into a file +// dumpSecretAuthFile dumps the content of a secret into a file // in the expected format for the specified authorization func dumpSecretAuthFile(filename string, secret *api.Secret) error { val, ok := secret.Data["auth"] diff --git a/test/e2e/framework/deployment.go b/test/e2e/framework/deployment.go index 215f1a8cd4..8ac1451b0b 100644 --- a/test/e2e/framework/deployment.go +++ b/test/e2e/framework/deployment.go @@ -158,7 +158,7 @@ func (f *Framework) NewEchoDeployment(opts ...func(*deploymentOptions)) { assert.Nil(ginkgo.GinkgoT(), err, "waiting for endpoints to become ready") } -// BuildNipHost used to generate a nip host for DNS resolving +// BuildNIPHost used to generate a nip host for DNS resolving func BuildNIPHost(ip string) string { return fmt.Sprintf("%s.nip.io", ip) }