lib/services/connection.rb in jn_services-1.0.3 vs lib/services/connection.rb in jn_services-1.0.4
- old
+ new
@@ -32,10 +32,10 @@
@run_context = args.fetch(:run_context, nil)
Services.run_context = args[:run_context]
@node = args[:run_context].node if run_context
@host = args[:host]
@port = args[:port] || 4001
- @redirect = args[:redirect] || false
+ @redirect = args[:redirect] || true
@ssl_verify = args[:verify] || OpenSSL::SSL::VERIFY_NONE
validate
load_gem
Services.connection = get_connection(find_servers)