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

Commit

Permalink
Merge pull request #829 from RobertSzkutak/multiple-password-prompt-fix
Browse files Browse the repository at this point in the history
Fix issue causing multiple password prompts
  • Loading branch information
RobertSzkutak authored Aug 4, 2017
2 parents 042c117 + 4e38a45 commit 2715ab5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion deploy/lib/server_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ def initialize(options)
logger.warn "WARN: unable to determine MarkLogic Host name of #{@hostname}"
end

@properties["ml.password"] = @ml_password

begin
r = execute_query %Q{ substring-before(xdmp:version(), ".") }
r.body = parse_body r.body
Expand Down Expand Up @@ -681,7 +683,7 @@ def restart
rescue
logger.debug 'Retry attempt ' + retry_count.to_s + ' failed'
end

if new_timestamp != old_timestamp
# Indicates that restart is confirmed successful
break
Expand Down

0 comments on commit 2715ab5

Please sign in to comment.