← Back to team overview

openstack-poc team mailing list archive

[Bug 947861] [NEW] cfg: automatically create option groups

 

Public bug reported:

If you do e.g.

  conf.register_opts(sql_opts, group='sql')

that should be enough without explicitly defining an OptGroup

The only real use case for explicitly definining an OptGroup is where
you want to set some help text/title for the group

Pointed out by termie here: https://review.openstack.org/4547

** Affects: openstack-common
     Importance: Undecided
     Assignee: Mark McLoughlin (markmc)
         Status: Confirmed


** Tags: cfg

-- 
You received this bug notification because you are a member of OpenStack
Common Drivers, which is the registrant for openstack-common.
https://bugs.launchpad.net/bugs/947861

Title:
  cfg: automatically create option groups

Status in openstack-common:
  Confirmed

Bug description:
  If you do e.g.

    conf.register_opts(sql_opts, group='sql')

  that should be enough without explicitly defining an OptGroup

  The only real use case for explicitly definining an OptGroup is where
  you want to set some help text/title for the group

  Pointed out by termie here: https://review.openstack.org/4547

To manage notifications about this bug go to:
https://bugs.launchpad.net/openstack-common/+bug/947861/+subscriptions


Follow ups

References