Skip to content

Commit fbc5a7d

Browse files
authored
Fix configuring AMQP on Altlinux
Configuring AMQP access... Host []: localhost User []: guest Password []: undefined:3 this.rabbitmq.url = 'amqp://guest:guest@localhost' ^ TypeError: Cannot set property 'url' of undefined
1 parent 126f91a commit fbc5a7d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apt-rpm/bin/documentserver-configure.sh.m4

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ save_db_params(){
7272
save_rabbitmq_params(){
7373
$JSON -e "if(this.queue===undefined)this.queue={};"
7474
$JSON -e "this.queue.type = 'rabbitmq'"
75+
$JSON -e "if(this.rabbitmq===undefined)this.rabbitmq={};"
7576
$JSON -e "this.rabbitmq.url = '${AMQP_SERVER_URL}'"
7677
}
7778

0 commit comments

Comments
 (0)