Skip to content

Commit 5c80daa

Browse files
authored
Update deps and fix 2 warnings (#34)
1 parent ea86bc6 commit 5c80daa

5 files changed

Lines changed: 30 additions & 30 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ jobs:
1616
matrix:
1717
include:
1818
- pair:
19-
elixir: 1.12.3
20-
otp: 24.3.4
19+
elixir: 1.13.4
20+
otp: 24.3.4.17
2121
- pair:
2222
elixir: 1.16.0
2323
otp: 26.2.1

lib/broadway_dashboard.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ defmodule BroadwayDashboard do
9494
true ->
9595
nav = pipelines |> hd() |> inspect()
9696
to = live_dashboard_path(socket, socket.assigns.page, nav: nav)
97-
{:ok, push_redirect(socket, to: to)}
97+
{:ok, push_navigate(socket, to: to)}
9898
end
9999

100100
{:error, error} ->

lib/broadway_dashboard/pipeline_graph.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ defmodule BroadwayDashboard.PipelineGraph do
44
# This module is responsible for calculating the
55
# layers of a given pipeline.
66

7-
alias BroadwayDashboard.LiveDashboard.LayeGraphComponent
7+
alias Phoenix.LiveDashboard.LayeredGraphComponent
88

99
@type topology_workload :: %{
1010
:name => atom(),
@@ -16,7 +16,7 @@ defmodule BroadwayDashboard.PipelineGraph do
1616
}
1717
@type topology_workload_item :: {:producers | :processors | :batchers, topology_workload()}
1818

19-
@spec build_layers([topology_workload_item()]) :: [LayeGraphComponent.layer()]
19+
@spec build_layers([topology_workload_item()]) :: [LayeredGraphComponent.layer()]
2020
def build_layers(topology_workloads) when is_list(topology_workloads) do
2121
# The order of steps is important here.
2222
steps =

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ defmodule BroadwayDashboard.MixProject do
88
[
99
app: :broadway_dashboard,
1010
version: @version,
11-
elixir: "~> 1.12",
11+
elixir: "~> 1.13",
1212
start_permanent: Mix.env() == :prod,
1313
elixirc_paths: elixirc_paths(Mix.env()),
1414
name: "BroadwayDashboard",

0 commit comments

Comments
 (0)