dyntool 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dyntool.rb +2 -2
- metadata +2 -2
data/lib/dyntool.rb
CHANGED
@@ -44,10 +44,10 @@ class LoadConfig
|
|
44
44
|
@iplabel = @conf['ips'][ip]['label']
|
45
45
|
end
|
46
46
|
def GetIpWeight(ip,region)
|
47
|
-
@weight = @conf['ips'][ip][
|
47
|
+
@weight = @conf['ips'][ip]['weight'][region]
|
48
48
|
end
|
49
49
|
def GetIpTTL(ip,region)
|
50
|
-
@
|
50
|
+
@ttl = @conf['ttls'][region]
|
51
51
|
end
|
52
52
|
def GetContacts
|
53
53
|
@contacts = @conf['contacts']
|