Fixing missing default for EnablePreviewFeatures (#7887)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
0bc17001c4
Коммит
cf9cd6a4b6
@@ -394,6 +394,10 @@ func (s *ServiceSettings) SetDefaults() {
|
|||||||
if s.PostEditTimeLimit == nil {
|
if s.PostEditTimeLimit == nil {
|
||||||
s.PostEditTimeLimit = NewInt(300)
|
s.PostEditTimeLimit = NewInt(300)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if s.EnablePreviewFeatures == nil {
|
||||||
|
s.EnablePreviewFeatures = NewBool(true)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
type ClusterSettings struct {
|
type ClusterSettings struct {
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user