Skip to content

Commit c8628a0

Browse files
committed
Fix vars
1 parent c9c9358 commit c8628a0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/phoenix_container_example/autoscaling.ex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ defmodule PhoenixContainerExample.Autoscaling do
3434

3535
with {:ok, events} <- lookup_event(event_name, opts),
3636
event = events,
37-
event = map_keys(event),
38-
{:ok, data} <- rate_limit(event, opts) do
39-
:ok = aws_request(data)
37+
aws_data = map_keys(event),
38+
{:ok, data} <- rate_limit(aws_data, opts) do
39+
:ok = aws_request(request_data)
4040
:ok
4141
end
4242
end

0 commit comments

Comments
 (0)