Merge pull request #1132 from caduri/devel
[Bug] exchange name contains chars that needs to be quoted
This commit is contained in:
commit
08fb2d340c
2 changed files with 5 additions and 5 deletions
|
@ -131,9 +131,9 @@ def main():
|
|||
module.params['login_host'],
|
||||
module.params['login_port'],
|
||||
urllib.quote(module.params['vhost'],''),
|
||||
module.params['name'],
|
||||
urllib.quote(module.params['name'],''),
|
||||
dest_type,
|
||||
module.params['destination'],
|
||||
urllib.quote(module.params['destination'],''),
|
||||
urllib.quote(module.params['routing_key'],'')
|
||||
)
|
||||
|
||||
|
@ -173,9 +173,9 @@ def main():
|
|||
module.params['login_host'],
|
||||
module.params['login_port'],
|
||||
urllib.quote(module.params['vhost'],''),
|
||||
module.params['name'],
|
||||
urllib.quote(module.params['name'],''),
|
||||
dest_type,
|
||||
module.params['destination']
|
||||
urllib.quote(module.params['destination'],'')
|
||||
)
|
||||
|
||||
r = requests.post(
|
||||
|
|
|
@ -133,7 +133,7 @@ def main():
|
|||
module.params['login_host'],
|
||||
module.params['login_port'],
|
||||
urllib.quote(module.params['vhost'],''),
|
||||
module.params['name']
|
||||
urllib.quote(module.params['name'],'')
|
||||
)
|
||||
|
||||
# Check if exchange already exists
|
||||
|
|
Loading…
Reference in a new issue