Skip to content

Commit

Permalink
Fix dialyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
zacksiri committed May 22, 2024
1 parent e1c9669 commit 4e89038
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/uplink/packages/instance/restart.ex
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ defmodule Uplink.Packages.Instance.Restart do

project_name = Packages.get_project_name(client, metadata)

with {:ok, _} <- Formation.lxd_stop(client, name, project: project_name),
with {:ok, %{"status_code" => 200}} <-
Formation.lxd_stop(client, name, project: project_name),
%Tesla.Client{} <-
Formation.lxd_start(client, name, project: project_name) do
Uplink.TaskSupervisor
Expand Down

0 comments on commit 4e89038

Please sign in to comment.