Remove default=None when set value in Config

By default oslo.cfg sets the default values as None, There is
no need to explicitly do this.

Change-Id: I524f0016df3fb237bf41961a6e22ec88c1a46f06
changes/66/375966/1
Lu lei 6 years ago
parent 22e17cb5ed
commit adf266c868
  1. 1
      magnum/conf/services.py
  2. 1
      magnum/tests/functional/tempest_tests/config.py

@ -16,7 +16,6 @@ from magnum.i18n import _
service_opts = [
cfg.StrOpt('host',
default=None,
help=_('Name of this node. This can be an opaque identifier. '
'It is not necessarily a hostname, FQDN, or IP address. '
'However, the node name must be valid within '

@ -45,7 +45,6 @@ MagnumGroup = [
help="Flavor id to use for ClusterTemplate."),
cfg.StrOpt("magnum_url",
default=None,
help="Bypass URL for Magnum to skip service catalog lookup"),
cfg.StrOpt("master_flavor_id",

Loading…
Cancel
Save