diff options
author | =Corey Hulen <corey@hulen.com> | 2016-03-07 18:03:28 -0800 |
---|---|---|
committer | =Corey Hulen <corey@hulen.com> | 2016-03-07 18:03:28 -0800 |
commit | 7695e0ea4b73905e9634c94efcf28dd40709e178 (patch) | |
tree | 0742adc08e7a531c546ba6f36b16e19ddf159fed /mattermost.go | |
parent | b001507bedbc3c09fea2921b11e8825002f999cc (diff) | |
download | chat-7695e0ea4b73905e9634c94efcf28dd40709e178.tar.gz chat-7695e0ea4b73905e9634c94efcf28dd40709e178.tar.bz2 chat-7695e0ea4b73905e9634c94efcf28dd40709e178.zip |
PLT-2117 chaning multiple rrs
Diffstat (limited to 'mattermost.go')
-rw-r--r-- | mattermost.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mattermost.go b/mattermost.go index b305aac3c..45ffcc88f 100644 --- a/mattermost.go +++ b/mattermost.go @@ -72,6 +72,12 @@ func main() { loadLicense() } + if !utils.IsLicensed && len(utils.Cfg.SqlSettings.DataSourceReplicas) > 1 { + l4g.Critical(utils.T("store.sql.read_replicas_not_licensed.critical")) + time.Sleep(time.Second) + panic(fmt.Sprintf(utils.T("store.sql.read_replicas_not_licensed.critical"))) + } + if flagRunCmds { runCmds() } else { |