Fixing missing default for EnablePreviewFeatures (#7887)

This commit is contained in:
Christopher Speller
2017-11-21 14:30:08 -08:00
committed by GitHub
parent 0bc17001c4
commit cf9cd6a4b6

View File

@@ -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 {