Merge pull request #1882 from lavalamp/fix

fix broken test
This commit is contained in:
Joe Beda 2014-10-17 15:38:48 -07:00
commit ee1d426a42

View File

@ -229,8 +229,9 @@ func TestEtcdCreatePodFailsWithoutNamespace(t *testing.T) {
},
},
})
if err == nil || !strings.Contains(err.Error(), "namespace") {
t.Fatalf("expected error that namespace was missing from context")
// Accept "namespace" or "Namespace".
if err == nil || !strings.Contains(err.Error(), "amespace") {
t.Fatalf("expected error that namespace was missing from context, got: %v", err)
}
}