mirror of
https://github.com/rancher/types.git
synced 2025-07-19 15:56:26 +00:00
Change from dnsLabel to hostname for smtp host
This commit is contained in:
parent
099a69bb5a
commit
5062d58753
@ -133,7 +133,7 @@ type Notification struct {
|
||||
}
|
||||
|
||||
type SMTPConfig struct {
|
||||
Host string `json:"host,omitempty" norman:"required,type=dnsLabel"`
|
||||
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"`
|
||||
|
Loading…
Reference in New Issue
Block a user