Skip to content

Commit dad3059

Browse files
committed
service discovery stop/start
1 parent 0045620 commit dad3059

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/lib/routes/services.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ def send_stop_start(host, service, endpoint)
588588
health_status: 'HEALTHY'
589589
).instances.each do |instance|
590590
host = instance.attributes.fetch('AWS_INSTANCE_IPV4', '')
591-
resp << post_url("#{host}/#{endpoint}") unless host.empty?
591+
resp << post_url("http://#{host}/#{endpoint}") unless host.empty?
592592
end
593593
resp
594594
rescue StandardError

0 commit comments

Comments
 (0)