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

Signed-off-by: cuithon <dscs@outlook.com>
This commit is contained in:
cuithon 2025-06-16 13:32:58 +08:00 committed by GitHub
parent 6338a3ac71
commit cbf5f27508
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 }, 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 // in the expected format for the specified authorization
func dumpSecretAuthFile(filename string, secret *api.Secret) error { func dumpSecretAuthFile(filename string, secret *api.Secret) error {
val, ok := secret.Data["auth"] 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") 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 { func BuildNIPHost(ip string) string {
return fmt.Sprintf("%s.nip.io", ip) return fmt.Sprintf("%s.nip.io", ip)
} }