Browse Source

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
(cherry picked from commit 32b468f7e1)
tags/4.1.2
Chandan Kumar 2 years ago
parent
commit
7d30f94e2f
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      magnum/tests/functional/tempest_tests/config.py

+ 3
- 3
magnum/tests/functional/tempest_tests/config.py View File

@@ -61,7 +61,7 @@ MagnumGroup = [
61 61
                default="8.8.8.8",
62 62
                help="DNS nameserver to use for ClusterTemplate."),
63 63
 
64
-    cfg.StrOpt("copy_logs",
65
-               default=True,
66
-               help="Specify whether to copy nova server logs on failure."),
64
+    cfg.BoolOpt("copy_logs",
65
+                default=True,
66
+                help="Specify whether to copy nova server logs on failure."),
67 67
 ]

Loading…
Cancel
Save