1. Make source and conditions configurable.

2. Add multiple events and conditions support in problem interface.
This commit is contained in:
Lantao Liu
2016-06-02 15:32:02 -07:00
parent 63b4ba7206
commit 5b07afd325
7 changed files with 114 additions and 67 deletions
+1
View File
@@ -123,6 +123,7 @@ func getEventRecorder(c *client.Client, nodeName, source string) record.EventRec
}
func getNodeRef(nodeName string) *api.ObjectReference {
// TODO(random-liu): Get node to initalize the node reference
return &api.ObjectReference{
Kind: "Node",
Name: nodeName,