Skip to content
Snippets Groups Projects
Unverified Commit 7203baea authored by Prabakaran Murugesan's avatar Prabakaran Murugesan Committed by Jon Jenkins
Browse files

Rename local variable to avoid confusion from instance variable

parent a2a28065
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -118,7 +118,7 @@ def perform_service_discovery
# The return value is the amount of time (in seconds) to wait before
# checking the DNS record for any changes.
def refresh_if_necessary
interval, from_dns = addresses_from_dns
wait_time, from_dns = addresses_from_dns
 
current = addresses_from_load_balancer
 
Loading
Loading
@@ -132,7 +132,7 @@ def refresh_if_necessary
replace_hosts(from_dns)
end
 
interval
wait_time
end
 
# Replaces all the hosts in the load balancer with the new ones,
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment