update godep
This commit is contained in:
parent
3d30cb38f6
commit
ee9971a5af
2 changed files with 3 additions and 3 deletions
4
Godeps/Godeps.json
generated
4
Godeps/Godeps.json
generated
|
@ -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",
|
||||
|
|
2
Godeps/_workspace/src/github.com/denverdino/aliyungo/oss/client.go
generated
vendored
2
Godeps/_workspace/src/github.com/denverdino/aliyungo/oss/client.go
generated
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue