update godep

This commit is contained in:
tgic 2015-06-16 11:52:25 +08:00
parent 3d30cb38f6
commit ee9971a5af
2 changed files with 3 additions and 3 deletions

4
Godeps/Godeps.json generated
View file

@ -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",

View file

@ -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