Docs: Fix function names in comments. (#13518)

Signed-off-by: cuithon <dscs@outlook.com>
Co-authored-by: cuithon <dscs@outlook.com>
This commit is contained in:
k8s-infra-cherrypick-robot 2025-06-15 23:28:57 -07:00 committed by GitHub
parent 71b5b5f09d
commit 3700d8209c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -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"]

View file

@ -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)
}