The documentation for cfg.Opt[1] only says that the type parameter
must be a callable object, not that it must be a subclass of
types.ConfigType, so there shouldn't be a warning from the config
generator when the type is not a subclass of types.ConfigType.
Reviewed: https:/ /review. openstack. org/256594 /git.openstack. org/cgit/ openstack/ oslo.config/ commit/ ?id=271da1c8170 d961ccad9862a0c 28f3303bfc6e03
Committed: https:/
Submitter: Jenkins
Branch: master
commit 271da1c8170d961 ccad9862a0c28f3 303bfc6e03
Author: Brant Knudson <email address hidden>
Date: Fri Dec 11 11:16:30 2015 -0600
Remove warning for option type not a ConfigType
The documentation for cfg.Opt[1] only says that the type parameter ConfigType, so there shouldn't be a warning from the config
must be a callable object, not that it must be a subclass of
types.
generator when the type is not a subclass of types.ConfigType.
[1] http:// docs.openstack. org/developer/ oslo.config/ opts.html# oslo_config. cfg.Opt
Change-Id: Ia38b471d52b398 7b65d93b11d805c 523276bdbfc
Closes-Bug: 1525275