Fixing the namespace in created event to fix federation event e2e

This commit is contained in:
nikhiljindal 2016-08-16 15:46:14 -07:00
parent fa6bd4b832
commit 353a38555d

View File

@ -70,12 +70,13 @@ func createEventOrFail(clientset *federation_release_1_4.Clientset, namespace st
event := &v1.Event{ event := &v1.Event{
ObjectMeta: v1.ObjectMeta{ ObjectMeta: v1.ObjectMeta{
Name: FederationEventName, Name: FederationEventName,
Namespace: namespace,
}, },
InvolvedObject: v1.ObjectReference{ InvolvedObject: v1.ObjectReference{
Kind: "Pod", Kind: "Pod",
Name: "pod-name", Name: "pod-name",
Namespace: "default", Namespace: namespace,
UID: "C934D34AFB20242", UID: "C934D34AFB20242",
APIVersion: "version", APIVersion: "version",
}, },