PROTON-1725: [ruby] broker example should work if SSL certs not found
Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/45bd5733 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/45bd5733 Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/45bd5733 Branch: refs/heads/go1 Commit: 45bd5733ec4c682f81b2a3efb4dbf43d10b1fae9 Parents: cd06716 Author: Alan Conway <[email protected]> Authored: Wed Dec 20 11:24:39 2017 -0500 Committer: Alan Conway <[email protected]> Committed: Wed Dec 20 11:24:39 2017 -0500 ---------------------------------------------------------------------- examples/ruby/broker.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/45bd5733/examples/ruby/broker.rb ---------------------------------------------------------------------- diff --git a/examples/ruby/broker.rb b/examples/ruby/broker.rb index b28ca76..5d0793a 100644 --- a/examples/ruby/broker.rb +++ b/examples/ruby/broker.rb @@ -85,7 +85,7 @@ class Broker < Qpid::Proton::MessagingHandler end @ssl_domain.allow_unsecured_client # SSL is optional, this is not secure. rescue - # Don't worry if we can't set up SSL. + @ssl_domain = nil # Don't worry if we can't set up SSL. end end --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
