Docs: Fix function names in comments. (#13517)
Signed-off-by: cuithon <dscs@outlook.com>
This commit is contained in:
parent
6338a3ac71
commit
cbf5f27508
|
|
@ -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…
Reference in New Issue