MM-14560 Changed local image proxy to be off by default (#10444)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
dc94e660d1
Коммит
3bbec7e954
@@ -2168,7 +2168,11 @@ type ImageProxySettings struct {
|
||||
|
||||
func (ips *ImageProxySettings) SetDefaults(ss ServiceSettings) {
|
||||
if ips.Enable == nil {
|
||||
ips.Enable = NewBool(true)
|
||||
if ss.DEPRECATED_DO_NOT_USE_ImageProxyType == nil || *ss.DEPRECATED_DO_NOT_USE_ImageProxyType == "" {
|
||||
ips.Enable = NewBool(false)
|
||||
} else {
|
||||
ips.Enable = NewBool(true)
|
||||
}
|
||||
}
|
||||
|
||||
if ips.ImageProxyType == nil {
|
||||
|
||||
Ссылка в новой задаче
Block a user