Commit 7e875a0f authored by Zach Loafman's avatar Zach Loafman

Merge pull request #7167 from pmorie/typo

Fix typo in secrets integration test
parents 854c20c5 d381db17
......@@ -39,7 +39,7 @@ func init() {
func deletePodOrErrorf(t *testing.T, c *client.Client, ns, name string) {
if err := c.Pods(ns).Delete(name); err != nil {
t.Errorf("unable to delete pods %v: %v", name, err)
t.Errorf("unable to delete pod %v: %v", name, err)
}
}
func deleteSecretOrErrorf(t *testing.T, c *client.Client, ns, name string) {
......@@ -136,7 +136,7 @@ func DoTestSecrets(t *testing.T, client *client.Client, apiVersion string) {
defer deletePodOrErrorf(t, client, ns, pod.Name)
// Create a pod that consumes non-existent secret.
pod.ObjectMeta.Name = "uses-non-existant-secret"
pod.ObjectMeta.Name = "uses-non-existent-secret"
if _, err := client.Pods(ns).Create(pod); err != nil {
t.Errorf("Failed to create pod: %v", err)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment