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:
parent
71b5b5f09d
commit
3700d8209c
2 changed files with 2 additions and 2 deletions
|
|
@ -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"]
|
||||||
|
|
|
||||||
|
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue