Skip to content

Commit

Permalink
marklogic-community#593 Missed one call
Browse files Browse the repository at this point in the history
  • Loading branch information
dmcassel committed Apr 14, 2016
1 parent b42be0c commit e3eae80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/lib/ml_rest.rb
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def install_options(path)

contents = file.read

r = go("http://#{@hostname}:#{@port}/v1/config/query/#{basename}", "put", headers, nil, contents)
r = go("#{@rest_protocol}://#{@hostname}:#{@port}/v1/config/query/#{basename}", "put", headers, nil, contents)
if (r.code.to_i < 200 && r.code.to_i > 206)
@logger.error("code: #{r.code.to_i} body:#{r.body}")
end
Expand Down

0 comments on commit e3eae80

Please sign in to comment.