Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Correctly escape %2F
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Aug 13, 2021
1 parent bcc58f1 commit 891ab4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ def doNodesHaveBlockNum(nodes, targetBlockNum, blockType, printCount):

@staticmethod
def createAMQPQueue(queueName):
cmd="curl -u guest:guest -H \"content-type:application/json\" -XPUT http://127.0.0.1:15672/api/queues/\%2F/%s -d'{\"durable\":true}' " % \
cmd="curl -u guest:guest -H \"content-type:application/json\" -XPUT http://127.0.0.1:15672/api/queues/%%2F/%s -d'{\"durable\":true}' " % \
(queueName)
return Utils.runCmdReturnStr(cmd)

Expand Down

0 comments on commit 891ab4c

Please sign in to comment.