mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
allow port to be included in queue_url
allow port to be included in queue_url The method currently fails when we use the QueueUrl provided from SQS list_queues {"QueueUrls"=>["https://sqs.us-east-1.amazonaws.com:443/77XXXXXXXX/sample-queue"], ...}
This commit is contained in:
parent
c65428c54f
commit
40ac459c3b
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ module Fog
|
|||
end
|
||||
|
||||
def path_from_queue_url(queue_url)
|
||||
queue_url.split('.com', 2).last
|
||||
queue_url.split('.com', 2).last.sub(/^:[0-9]+/, '')
|
||||
end
|
||||
|
||||
def request(params)
|
||||
|
|
Loading…
Add table
Reference in a new issue