diff --git a/Godeps/Godeps.json b/Godeps/Godeps.json index 8ec11491e..ec42f905f 100644 --- a/Godeps/Godeps.json +++ b/Godeps/Godeps.json @@ -24,8 +24,8 @@ }, { "ImportPath": "github.com/minio/minio-go", - "Comment": "v0.2.5-197-g45a4b10", - "Rev": "45a4b10109a2313378515d89cd3be55ff58c11c2" + "Comment": "v0.2.5-201-g410319e", + "Rev": "410319e0e39a372998f4d9cd2b9da4ff243ae388" }, { "ImportPath": "github.com/pkg/sftp", diff --git a/Godeps/_workspace/src/github.com/minio/minio-go/.travis.yml b/Godeps/_workspace/src/github.com/minio/minio-go/.travis.yml index c55421487..96a4e2a47 100644 --- a/Godeps/_workspace/src/github.com/minio/minio-go/.travis.yml +++ b/Godeps/_workspace/src/github.com/minio/minio-go/.travis.yml @@ -1,9 +1,22 @@ +sudo: false language: go + +os: +- linux +- osx + +env: +- ARCH=x86_64 +- ARCH=i686 + go: - 1.5.1 +- 1.5.2 + script: - go vet ./... - go test -test.short -race -v ./... + notifications: slack: secure: HrOX2k6F/sEl6Rr4m5vHOdJCIwV42be0kz1Jy/WSMvrl/fQ8YkldKviLeWh4aWt1kclsYhNQ4FqGML+RIZYsdOqej4fAw9Vi5pZkI1MzPJq0UjrtMqkqzvD90eDGQYCKwaXjEIN8cohwJeb6X0B0HKAd9sqJW5GH5SwnhH5WWP8= diff --git a/Godeps/_workspace/src/github.com/minio/minio-go/api-put-bucket.go b/Godeps/_workspace/src/github.com/minio/minio-go/api-put-bucket.go index 6293e64f3..e1880d9f8 100644 --- a/Godeps/_workspace/src/github.com/minio/minio-go/api-put-bucket.go +++ b/Godeps/_workspace/src/github.com/minio/minio-go/api-put-bucket.go @@ -102,7 +102,7 @@ func (c Client) makeBucketRequest(bucketName string, acl BucketACL, location str // If endpoint supports virtual host style use that always. // Currently only S3 and Google Cloud Storage would support this. if isVirtualHostSupported(c.endpointURL) { - targetURL.Host = bucketName + "/" + c.endpointURL.Host + targetURL.Host = bucketName + "." + c.endpointURL.Host targetURL.Path = "/" } else { // If not fall back to using path style.