summaryrefslogtreecommitdiff
path: root/lib/custodian/util/dns.rb
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2016-04-22 21:48:59 +0300
committerSteve Kemp <steve@steve.org.uk>2016-04-22 21:48:59 +0300
commit67fbf68705e1808107e8cea1d3ab6ad0e206f645 (patch)
treee9488cc105876485822be15c29c97ee66bd964ca /lib/custodian/util/dns.rb
parent12de7cf1aefcd5d567a9e6e2eaa061f2074c8dbb (diff)
Fixed up more rubocop warnings.
Again these were whitespace-related.
Diffstat (limited to 'lib/custodian/util/dns.rb')
-rw-r--r--lib/custodian/util/dns.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/custodian/util/dns.rb b/lib/custodian/util/dns.rb
index 724b3c2..dbb7158 100644
--- a/lib/custodian/util/dns.rb
+++ b/lib/custodian/util/dns.rb
@@ -61,7 +61,7 @@ module Custodian
timeout(period) do
begin
Socket.getaddrinfo(hostname, 'echo').each do |a|
- resolved = a[3] if a
+ resolved = a[3] if a
end
rescue SocketError
resolved = nil