mirror of
https://github.com/rancher/types.git
synced 2025-09-25 04:12:02 +00:00
Update notifier to not required
Problem: User prefer allow empty notifier Solution: Allow empty notifer in cluster/project group Issue: https://github.com/rancher/rancher/issues/18616
This commit is contained in:
committed by
Alena Prokharchyk
parent
5f3a823cfe
commit
a894aa4cdc
@@ -129,13 +129,13 @@ type ProjectAlertGroup struct {
|
||||
|
||||
type ClusterGroupSpec struct {
|
||||
ClusterName string `json:"clusterName" norman:"type=reference[cluster]"`
|
||||
Recipients []Recipient `json:"recipients,omitempty" norman:"required"`
|
||||
Recipients []Recipient `json:"recipients,omitempty"`
|
||||
CommonGroupField
|
||||
}
|
||||
|
||||
type ProjectGroupSpec struct {
|
||||
ProjectName string `json:"projectName" norman:"type=reference[project]"`
|
||||
Recipients []Recipient `json:"recipients,omitempty" norman:"required"`
|
||||
Recipients []Recipient `json:"recipients,omitempty"`
|
||||
CommonGroupField
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user