diff options
author | =Corey Hulen <corey@hulen.com> | 2015-09-21 17:34:13 -0700 |
---|---|---|
committer | =Corey Hulen <corey@hulen.com> | 2015-09-21 17:34:13 -0700 |
commit | 0529a494ae6b541f917522a20de92e3d36615f65 (patch) | |
tree | 401c6faf7ca0eb90fdc9a88910d792c28b82ac02 /utils/config.go | |
parent | e863096358dd64ecf2de6efeec3db132cdc8d6b9 (diff) | |
download | chat-0529a494ae6b541f917522a20de92e3d36615f65.tar.gz chat-0529a494ae6b541f917522a20de92e3d36615f65.tar.bz2 chat-0529a494ae6b541f917522a20de92e3d36615f65.zip |
Adding image properties
Diffstat (limited to 'utils/config.go')
-rw-r--r-- | utils/config.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/utils/config.go b/utils/config.go index f3e93ef11..c0e039137 100644 --- a/utils/config.go +++ b/utils/config.go @@ -198,13 +198,13 @@ func getClientProperties(c *model.Config) map[string]string { return props } -func IsS3Configured() bool { - if Cfg.AWSSettings.S3AccessKeyId == "" || Cfg.AWSSettings.S3SecretAccessKey == "" || Cfg.AWSSettings.S3Region == "" || Cfg.AWSSettings.S3Bucket == "" { - return false - } +// func IsS3Configured() bool { +// if Cfg.AWSSettings.AmazonS3AccessKeyId == "" || Cfg.AWSSettingsAmazonS3SecretAccessKey == "" || Cfg.AWSSettingsAmazonS3Region == "" || Cfg.AWSSettingsAmazonS3Bucket == "" { +// return false +// } - return true -} +// return true +// } func IsServiceAllowed(s string) bool { if len(s) == 0 { |