Fixing missing default for EnablePreviewFeatures (#7887)

Этот коммит содержится в:
Christopher Speller
2017-11-21 14:30:08 -08:00
коммит произвёл GitHub
родитель 0bc17001c4
Коммит cf9cd6a4b6

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

@@ -394,6 +394,10 @@ func (s *ServiceSettings) SetDefaults() {
if s.PostEditTimeLimit == nil {
s.PostEditTimeLimit = NewInt(300)
}
if s.EnablePreviewFeatures == nil {
s.EnablePreviewFeatures = NewBool(true)
}
}
type ClusterSettings struct {