Skip to content

Commit cbf5f27

Browse files
authored
Docs: Fix function names in comments. (#13517)
Signed-off-by: cuithon <dscs@outlook.com>
1 parent 6338a3a commit cbf5f27

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

internal/ingress/annotations/auth/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ func (a auth) Parse(ing *networking.Ingress) (interface{}, error) {
242242
}, nil
243243
}
244244

245-
// dumpSecret dumps the content of a secret into a file
245+
// dumpSecretAuthFile dumps the content of a secret into a file
246246
// in the expected format for the specified authorization
247247
func dumpSecretAuthFile(filename string, secret *api.Secret) error {
248248
val, ok := secret.Data["auth"]

test/e2e/framework/deployment.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ func (f *Framework) NewEchoDeployment(opts ...func(*deploymentOptions)) {
158158
assert.Nil(ginkgo.GinkgoT(), err, "waiting for endpoints to become ready")
159159
}
160160

161-
// BuildNipHost used to generate a nip host for DNS resolving
161+
// BuildNIPHost used to generate a nip host for DNS resolving
162162
func BuildNIPHost(ip string) string {
163163
return fmt.Sprintf("%s.nip.io", ip)
164164
}

0 commit comments

Comments
 (0)