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

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