mirror of
https://github.com/rancher/types.git
synced 2025-04-27 18:25:05 +00:00
Merge pull request #1051 from XianglongLuo/notifiersmtp
Update notifier fields type
This commit is contained in:
commit
fdb0217d60
@ -283,7 +283,7 @@ type SMTPConfig struct {
|
||||
Host string `json:"host,omitempty" norman:"required,type=hostname"`
|
||||
Port int `json:"port,omitempty" norman:"required,min=1,max=65535,default=587"`
|
||||
Username string `json:"username,omitempty"`
|
||||
Password string `json:"password,omitempty"`
|
||||
Password string `json:"password,omitempty" norman:"type=password"`
|
||||
Sender string `json:"sender,omitempty" norman:"required"`
|
||||
DefaultRecipient string `json:"defaultRecipient,omitempty" norman:"required"`
|
||||
TLS bool `json:"tls,omitempty" norman:"required,default=true"`
|
||||
|
Loading…
Reference in New Issue
Block a user