From 801cda9486b2fe11da62a2f967e1185bd2f84c22 Mon Sep 17 00:00:00 2001
From: Iustin Pop <iustin@google.com>
Date: Wed, 14 Jan 2009 09:57:06 +0000
Subject: [PATCH] burnin: update migration to latest log formatting

Reviewed-by: ultrotter
---
 tools/burnin | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/tools/burnin b/tools/burnin
index 8ff27c343..80076b6d6 100755
--- a/tools/burnin
+++ b/tools/burnin
@@ -408,18 +408,17 @@ class Burner(object):
 
   def Migrate(self):
     """Migrate the instances."""
-
+    Log("Migrating instances")
     for instance in self.instances:
+      Log("instance %s" % instance, indent=1)
       op = opcodes.OpMigrateInstance(instance_name=instance, live=True,
                                      cleanup=False)
 
-      Log("- Migrate instance %s" % (instance))
+      Log("migration", indent=2)
       self.ExecOp(op)
-    for instance in self.instances:
       op = opcodes.OpMigrateInstance(instance_name=instance, live=True,
                                      cleanup=True)
-
-      Log("- Testing 'migrate --cleanup' for instance %s" % (instance))
+      Log("migration cleanup", indent=2)
       self.ExecOp(op)
 
   def ImportExport(self):
-- 
GitLab