{"action":"opened","issue":{"url":"https://api.github.com/repos/minio/minio-go/issues/608","repository_url":"https://api.github.com/repos/minio/minio-go","labels_url":"https://api.github.com/repos/minio/minio-go/issues/608/labels{/name}","comments_url":"https://api.github.com/repos/minio/minio-go/issues/608/comments","events_url":"https://api.github.com/repos/minio/minio-go/issues/608/events","html_url":"https://github.com/minio/minio-go/issues/608","id":206466965,"number":608,"title":"\"us-east-1\" is always using in request for GetBucketLocation()","user":{"login":"an2deg","id":380882,"avatar_url":"https://avatars.githubusercontent.com/u/380882?v=3","gravatar_id":"","url":"https://api.github.com/users/an2deg","html_url":"https://github.com/an2deg","followers_url":"https://api.github.com/users/an2deg/followers","following_url":"https://api.github.com/users/an2deg/following{/other_user}","gists_url":"https://api.github.com/users/an2deg/gists{/gist_id}","starred_url":"https://api.github.com/users/an2deg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/an2deg/subscriptions","organizations_url":"https://api.github.com/users/an2deg/orgs","repos_url":"https://api.github.com/users/an2deg/repos","events_url":"https://api.github.com/users/an2deg/events{/privacy}","received_events_url":"https://api.github.com/users/an2deg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-09T10:44:18Z","updated_at":"2017-02-09T10:44:18Z","closed_at":null,"body":"Hi!\r\n\r\nWe are trying to generate pre-signed URLs for for S3 objects.\r\nWhen a bucket in us-east-1 region everything works fine. But if a bucket in different region (in our case in \"eu-west-2\") than we always get incorrect URL and that's why:\r\n\r\nhttps://github.com/minio/minio-go/blob/master/bucket-cache.go#L192\r\n\r\nI would love to have location field in Client struct (which will be \"us-east-1\" by default) and some setter for this attribute to allow users change this default.\r\n\r\nWhat do you think about my proposal? "}}
{"actor":{"display_login":"an2deg"}}