mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-03 18:27:49 +00:00
Fix spelling
This commit is contained in:
committed by
Hannes Hörl
parent
f7e9b6a474
commit
90012e513a
@@ -98,7 +98,7 @@ func TestWithInvalidCaCertPath(t *testing.T) {
|
|||||||
_, err := connection.NewClient(context.Background())
|
_, err := connection.NewClient(context.Background())
|
||||||
|
|
||||||
if err != vclib.ErrCaCertNotReadable {
|
if err != vclib.ErrCaCertNotReadable {
|
||||||
t.Fatalf("should have occoured")
|
t.Fatalf("should have occurred")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -112,7 +112,7 @@ func TestInvalidCaCert(t *testing.T) {
|
|||||||
_, err := connection.NewClient(context.Background())
|
_, err := connection.NewClient(context.Background())
|
||||||
|
|
||||||
if err != vclib.ErrCaCertInvalid {
|
if err != vclib.ErrCaCertInvalid {
|
||||||
t.Fatalf("should have occoured")
|
t.Fatalf("should have occurred")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -127,7 +127,7 @@ func TestUnsupportedTransport(t *testing.T) {
|
|||||||
|
|
||||||
err := connection.ConfigureTransportWithCA(notHttpTransport)
|
err := connection.ConfigureTransportWithCA(notHttpTransport)
|
||||||
if err != vclib.ErrUnsupportedTransport {
|
if err != vclib.ErrUnsupportedTransport {
|
||||||
t.Fatalf("should have occured")
|
t.Fatalf("should have occurred")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user