Skip to content

Commit

Permalink
Only fail upgrade insights on :failed statuses (#1447)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljguarino authored Oct 8, 2024
1 parent 74d33ca commit 103dd78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/console/deployments/clusters.ex
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ defmodule Console.Deployments.Clusters do
addons = runtime_services(cluster)
Cluster.changeset(cluster, %{
upgrade_plan: %{
deprecations: length(deps) == 0 && Enum.all?(insights, & &1.status == :passing),
deprecations: length(deps) == 0 && Enum.all?(insights, & &1.status != :failed),
compatibilities: !Enum.any?(addons, fn
%{addon_version: %Version{} = vsn} ->
Version.blocking?(vsn, cluster.current_version)
Expand Down

0 comments on commit 103dd78

Please sign in to comment.