Skip to content
This repository was archived by the owner on Nov 9, 2022. It is now read-only.

Commit 2715ab5

Browse files
Merge pull request #829 from RobertSzkutak/multiple-password-prompt-fix
Fix issue causing multiple password prompts
2 parents 042c117 + 4e38a45 commit 2715ab5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

deploy/lib/server_config.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ def initialize(options)
120120
logger.warn "WARN: unable to determine MarkLogic Host name of #{@hostname}"
121121
end
122122

123+
@properties["ml.password"] = @ml_password
124+
123125
begin
124126
r = execute_query %Q{ substring-before(xdmp:version(), ".") }
125127
r.body = parse_body r.body
@@ -681,7 +683,7 @@ def restart
681683
rescue
682684
logger.debug 'Retry attempt ' + retry_count.to_s + ' failed'
683685
end
684-
686+
685687
if new_timestamp != old_timestamp
686688
# Indicates that restart is confirmed successful
687689
break

0 commit comments

Comments
 (0)