Skip to content

Commit

Permalink
PMIND-36 Fix docker-intialize.py bad regex
Browse files Browse the repository at this point in the history
  • Loading branch information
duchenean committed Aug 28, 2023
1 parent 067ba9e commit 12d4000
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/docker-initialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def _fix_amqp(self, path):

filedata = re.sub(r'hostname.*?127.0.0.1', 'hostname ' + mq_host, filedata)
filedata = re.sub(r'port.*?5672', 'port ' + mq_port, filedata)
filedata = re.sub(r'^ *password*?guest', 'password ' + mq_password, filedata)
filedata = re.sub(r'password.*?guest', 'password ' + mq_password, filedata)
filedata = re.sub(r'username.*?guest', 'username ' + mq_login, filedata)

with open(path, 'w') as file:
Expand Down

0 comments on commit 12d4000

Please sign in to comment.