Fix call to minio.New()

The last parameter changed semantics from `insecure` to `secure`.
This commit is contained in:
Alexander Neumann 2016-06-08 21:33:18 +02:00
parent d66a98c2db
commit 902f619a06
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ type s3 struct {
func Open(cfg Config) (backend.Backend, error) {
debug.Log("s3.Open", "open, config %#v", cfg)
client, err := minio.New(cfg.Endpoint, cfg.KeyID, cfg.Secret, cfg.UseHTTP)
client, err := minio.New(cfg.Endpoint, cfg.KeyID, cfg.Secret, !cfg.UseHTTP)
if err != nil {
return nil, err
}