lib/hawkular/hawkular_client.rb in hawkular-client-2.2.1 vs lib/hawkular/hawkular_client.rb in hawkular-client-2.3.0

- old
+ new

@@ -56,10 +56,10 @@ private # this is in a dedicated method, because constructor opens the websocket connection to make the handshake def init_operations_client - Operations::OperationsClient.new(entrypoint: @state[:entrypoint].gsub(/^https?/, 'ws'), + Operations::OperationsClient.new(entrypoint: @state[:entrypoint].to_s.sub(/^https?/, 'ws'), credentials: @state[:credentials], options: @state[:options]) end end end