diff options
author | Joram Wilander <jwawilander@gmail.com> | 2018-05-18 09:13:23 -0400 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2018-05-18 09:13:23 -0400 |
commit | c6cbce610043bb050f2c542412eb439dc22c4a88 (patch) | |
tree | 47f3570ca00e96cd356f93ba656ba990cbd246f0 /model/config.go | |
parent | e591fcf3d8c61c3df7d1d8457ae7b72bfe3abf1b (diff) | |
download | chat-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.go | 5 |
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 { |