lib/kontena/machine/packet/master_provisioner.rb in kontena-plugin-packet-0.2.5 vs lib/kontena/machine/packet/master_provisioner.rb in kontena-plugin-packet-0.2.6

- old
+ new

@@ -64,10 +64,12 @@ device = find_device(project.id, device.hostname) rescue nil sleep 5 end end - public_ip = device_public_ip(device) + public_ip = spinner "Looking for device public IP" do + device_public_ip(device) + end master_url = "https://#{public_ip['address']}" Excon.defaults[:ssl_verify_peer] = false @http_client = Excon.new("#{master_url}", :connect_timeout => 10)