lib/polyn/cli/schema_loader.rb in polyn-cli-0.1.8 vs lib/polyn/cli/schema_loader.rb in polyn-cli-0.1.9

- old
+ new

@@ -58,10 +58,10 @@ reconnect_time_wait: 0.5, servers: Polyn::Cli.configuration.nats_servers.split(","), } if Polyn::Cli.configuration.nats_tls - opts.tls = { context: ::OpenSSL::SSL::SSLContext.new(:TLSv1_2) } + opts[:tls] = { context: ::OpenSSL::SSL::SSLContext.new(:TLSv1_2) } end NATS.connect(opts).jetstream end