1
0
mirror of https://github.com/rancher/types.git synced 2025-07-15 06:01:35 +00:00

Merge pull request #379 from zionwu/fixeventalert

Fix issue for alert events
This commit is contained in:
Alena Prokharchyk 2018-04-19 10:26:54 -07:00 committed by GitHub
commit fe054177e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,7 +82,7 @@ type TargetPod struct {
type TargetEvent struct {
EventType string `json:"eventType,omitempty" norman:"required,options=Normal|Warning,default=Warning"`
ResourceKind string `json:"resourceKind,omitempty" norman:"required,options=Pod|Node|Deployment|Statefulset|Daemonset"`
ResourceKind string `json:"resourceKind,omitempty" norman:"required,options=Pod|Node|Deployment|StatefulSet|DaemonSet"`
}
type TargetWorkload struct {