From 64cb56c81a7309a667eea2ce85147e62d02cac91 Mon Sep 17 00:00:00 2001 From: Dmitry Tantsur Date: Thu, 24 Aug 2017 17:25:14 +0200 Subject: [PATCH] Fix sample configuration generation for compute-related options Currently the compute_opts are duplicated in both [DEFAULT] and [compute] sections, while compute_group_opts are missing at all. This patch does not affect where the options actually are, only where they are displayed in the sample configuration. Closes-Bug: #1712855 Change-Id: I68f246998fd68e669b0d9ef34b00ed384f4f0c90 --- nova/conf/compute.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nova/conf/compute.py b/nova/conf/compute.py index d0234c9b8a..dec5023e00 100644 --- a/nova/conf/compute.py +++ b/nova/conf/compute.py @@ -1138,4 +1138,4 @@ def register_opts(conf): def list_opts(): return {'DEFAULT': ALL_OPTS, - 'compute': compute_opts} + 'compute': compute_group_opts}