From 103dd780fec90b90024ef89fa914cd9aca9d68d1 Mon Sep 17 00:00:00 2001 From: michaeljguarino Date: Tue, 8 Oct 2024 18:23:53 -0400 Subject: [PATCH] Only fail upgrade insights on `:failed` statuses (#1447) --- lib/console/deployments/clusters.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/console/deployments/clusters.ex b/lib/console/deployments/clusters.ex index 011d8d5c4c..ed16ec0bc2 100644 --- a/lib/console/deployments/clusters.ex +++ b/lib/console/deployments/clusters.ex @@ -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)