From 32b468f7e11b674c36256e30f23e5fd317f5bfe8 Mon Sep 17 00:00:00 2001 From: Chandan Kumar Date: Mon, 24 Apr 2017 19:32:13 +0530 Subject: [PATCH] Fix config type of copy_logs from string to Boolean * As per the default value of copy_logs is Boolean but config type is defined as string, It needs to be fixed other wise tempest init will throw warning. Change-Id: I9abf0c989e707b879c160d4df14546dd87c16f95 Closes-Bug: #1685797 --- magnum/tests/functional/tempest_tests/config.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/magnum/tests/functional/tempest_tests/config.py b/magnum/tests/functional/tempest_tests/config.py index e2538b2942..f72449514a 100644 --- a/magnum/tests/functional/tempest_tests/config.py +++ b/magnum/tests/functional/tempest_tests/config.py @@ -61,7 +61,7 @@ MagnumGroup = [ default="8.8.8.8", help="DNS nameserver to use for ClusterTemplate."), - cfg.StrOpt("copy_logs", - default=True, - help="Specify whether to copy nova server logs on failure."), + cfg.BoolOpt("copy_logs", + default=True, + help="Specify whether to copy nova server logs on failure."), ]