mirror of
https://github.com/cmur2/dyndnsd.git
synced 2025-07-02 18:30:18 +02:00
gems: update rubocop to version 0.89.0
Update rubocop to version 0.89.0 (#59) Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
This commit is contained in:
@ -27,7 +27,7 @@ module Dyndnsd
|
||||
ips.each do |ip|
|
||||
ip = IPAddr.new(ip).native
|
||||
type = ip.ipv6? ? 'AAAA' : 'A'
|
||||
name = hostname.chomp('.' + @domain)
|
||||
name = hostname.chomp(".#{@domain}")
|
||||
out << "#{name} IN #{type} #{ip}"
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user