From ee9971a5afcf257bc3d18b17c06b5cca02aabe0d Mon Sep 17 00:00:00 2001 From: tgic Date: Tue, 16 Jun 2015 11:52:25 +0800 Subject: [PATCH] update godep --- Godeps/Godeps.json | 4 ++-- .../src/github.com/denverdino/aliyungo/oss/client.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Godeps/Godeps.json b/Godeps/Godeps.json index 6c03f5446..dbc22b69e 100644 --- a/Godeps/Godeps.json +++ b/Godeps/Godeps.json @@ -46,11 +46,11 @@ }, { "ImportPath": "github.com/denverdino/aliyungo/oss", - "Rev": "56047189188d6558b6a1456d647970032343b511" + "Rev": "cab34948f93584226cdaac45adb09f3bb3725875" }, { "ImportPath": "github.com/denverdino/aliyungo/util", - "Rev": "56047189188d6558b6a1456d647970032343b511" + "Rev": "cab34948f93584226cdaac45adb09f3bb3725875" }, { "ImportPath": "github.com/docker/docker/pkg/tarsum", diff --git a/Godeps/_workspace/src/github.com/denverdino/aliyungo/oss/client.go b/Godeps/_workspace/src/github.com/denverdino/aliyungo/oss/client.go index d67c4d377..17b2d3ce7 100644 --- a/Godeps/_workspace/src/github.com/denverdino/aliyungo/oss/client.go +++ b/Godeps/_workspace/src/github.com/denverdino/aliyungo/oss/client.go @@ -975,7 +975,7 @@ func (client *Client) setBaseURL(req *request) error { if client.endpoint == "" { req.baseurl = client.Region.GetEndpoint(client.Internal, req.bucket, client.Secure) } else { - req.baseurl = fmt.Sprintf("%s://%s", client.endpoint, getProtocol(client.Secure)) + req.baseurl = fmt.Sprintf("%s://%s", getProtocol(client.Secure), client.endpoint) } return nil