Этот коммит содержится в:
Ben Schumacher
2019-10-29 07:45:09 +01:00
коммит произвёл GitHub
родитель d7649fbf31
Коммит 7a665aacdd
16 изменённых файлов: 33 добавлений и 47 удалений

Просмотреть файл

@@ -2880,7 +2880,7 @@ func (ss *ServiceSettings) isValid() *AppError {
return NewAppError("Config.IsValid", "model.config.is_valid.webserver_security.app_error", nil, "", http.StatusBadRequest)
}
if *ss.ConnectionSecurity == CONN_SECURITY_TLS && *ss.UseLetsEncrypt == false {
if *ss.ConnectionSecurity == CONN_SECURITY_TLS && !*ss.UseLetsEncrypt {
appErr := NewAppError("Config.IsValid", "model.config.is_valid.tls_cert_file.app_error", nil, "", http.StatusBadRequest)
if *ss.TLSCertFile == "" {

Просмотреть файл

@@ -111,11 +111,7 @@ func (s *SlackAttachment) Equals(input *SlackAttachment) bool {
}
}
if s.Timestamp != input.Timestamp {
return false
}
return true
return s.Timestamp == input.Timestamp
}
type SlackAttachmentField struct {