Merge pull request #3369 from SataQiu/fix-20181106

Fix some typos
This commit is contained in:
k8s-ci-robot 2018-11-06 04:02:10 -08:00 committed by GitHub
commit ecf605bf60
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -186,7 +186,7 @@ func TestGetPemCertificate(t *testing.T) {
Data map[string][]byte
eErr bool
}{
{"sceret_not_exist", "default/foo_secret_not_exist", nil, true},
{"secret_not_exist", "default/foo_secret_not_exist", nil, true},
{"data_not_complete_all_not_exist", "default/foo_secret", map[string][]byte{}, true},
{"data_not_complete_TLSCertKey_not_exist", "default/foo_secret", map[string][]byte{api.TLSPrivateKeyKey: dKey, tlscaName: dCa}, false},
{"data_not_complete_TLSCertKeyAndCA_not_exist", "default/foo_secret", map[string][]byte{api.TLSPrivateKeyKey: dKey}, true},

View file

@ -35,7 +35,7 @@ func TestFilterErrors(t *testing.T) {
}
}
func TestProxytTimeoutParsing(t *testing.T) {
func TestProxyTimeoutParsing(t *testing.T) {
testCases := map[string]struct {
input string
expect time.Duration // duration in seconds