summaryrefslogtreecommitdiffstats
path: root/model/config.go
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2018-05-18 09:13:23 -0400
committerHarrison Healey <harrisonmhealey@gmail.com>2018-05-18 09:13:23 -0400
commitc6cbce610043bb050f2c542412eb439dc22c4a88 (patch)
tree47f3570ca00e96cd356f93ba656ba990cbd246f0 /model/config.go
parente591fcf3d8c61c3df7d1d8457ae7b72bfe3abf1b (diff)
downloadchat-c6cbce610043bb050f2c542412eb439dc22c4a88.tar.gz
chat-c6cbce610043bb050f2c542412eb439dc22c4a88.tar.bz2
chat-c6cbce610043bb050f2c542412eb439dc22c4a88.zip
Add config setting for API team deletion (#8800)
Diffstat (limited to 'model/config.go')
-rw-r--r--model/config.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/model/config.go b/model/config.go
index a5a588a82..64107c42d 100644
--- a/model/config.go
+++ b/model/config.go
@@ -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 {