Add config setting for API team deletion (#8800)

Этот коммит содержится в:
Joram Wilander
2018-05-18 09:13:23 -04:00
коммит произвёл Harrison Healey
родитель e591fcf3d8
Коммит c6cbce6100
5 изменённых файлов: 24 добавлений и 15 удалений

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

@@ -224,6 +224,7 @@ type ServiceSettings struct {
ImageProxyType *string
ImageProxyURL *string
ImageProxyOptions *string
EnableAPITeamDeletion *bool
}
func (s *ServiceSettings) SetDefaults() {
@@ -452,6 +453,10 @@ func (s *ServiceSettings) SetDefaults() {
if s.ImageProxyOptions == nil {
s.ImageProxyOptions = NewString("")
}
if s.EnableAPITeamDeletion == nil {
s.EnableAPITeamDeletion = NewBool(false)
}
}
type ClusterSettings struct {