Skip to content

Commit

Permalink
If placement cannot be found use auto placement
Browse files Browse the repository at this point in the history
  • Loading branch information
zacksiri committed Sep 12, 2024
1 parent 223c5aa commit d08d182
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/uplink/packages/instance/placement.ex
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ defmodule Uplink.Packages.Instance.Placement do
{:ok, %__MODULE__{node: node}}

nil ->
{:error, :no_available_node}
find(node_name, "auto")
end
end

Expand Down

0 comments on commit d08d182

Please sign in to comment.