From 0ca668532e165946c09e821e87d32eec642097e8 Mon Sep 17 00:00:00 2001 From: Iustin Pop <iustin@google.com> Date: Tue, 27 Jul 2010 14:44:30 -0400 Subject: [PATCH] hail: fix error message for failed multi-evac Currently we show the instance index, but this makes no sense outside the current running program. Instead, we show the instance name. --- Ganeti/HTools/Cluster.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ganeti/HTools/Cluster.hs b/Ganeti/HTools/Cluster.hs index 1e0df9ec6..5ec30bdcf 100644 --- a/Ganeti/HTools/Cluster.hs +++ b/Ganeti/HTools/Cluster.hs @@ -622,7 +622,7 @@ tryEvac nl il ex_ndx = csol@(_, (nl'', _, _)):_ -> return (nl'', (fm, cs, csol:rsols)) _ -> fail $ "Can't evacuate instance " ++ - show idx + Instance.name (Container.find idx il) ) (nl, ([], 0, [])) all_insts return sol -- GitLab