From bbfa259cdc59a3cd5714c14e1f35bf3e4e23a839 Mon Sep 17 00:00:00 2001
From: Michele Tartara <mtartara@google.com>
Date: Tue, 23 Apr 2013 08:42:03 +0000
Subject: [PATCH] Make burnin compatible with the reason trail

The burnin uses its own option list, different from the one of all other
command line programs, and uses it as a parameter to a function that now
requires the "--reason" option to be present.

This commit updates the burnin option list to be compatible with the reason
trail implementation.

Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
---
 lib/tools/burnin.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/tools/burnin.py b/lib/tools/burnin.py
index 41873d05c..a2e886385 100755
--- a/lib/tools/burnin.py
+++ b/lib/tools/burnin.py
@@ -259,6 +259,7 @@ OPTIONS = [
                  help=("Leave instances on the cluster after burnin,"
                        " for investigation in case of errors or simply"
                        " to use them")),
+  cli.REASON_OPT,
   ]
 
 # Mainly used for bash completion
-- 
GitLab