Raise exception when wrong type is used as default

Bug #1502072 reported by Tom Cammann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
oslo.config
Fix Released
Undecided
Tom Cammann

Bug Description

In change https://review.openstack.org/#/c/105450/ introduced type checking of the default value to the Opt and logged a warning.

This change now raises an exception as per the comment in the original change. Relates to bug https://bugs.launchpad.net/oslo.config/+bug/1261792

Changed in oslo.config:
assignee: nobody → Tom Cammann (tom-cammann)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to oslo.config (master)

Reviewed: https://review.openstack.org/222078
Committed: https://git.openstack.org/cgit/openstack/oslo.config/commit/?id=e8464863491eee30e2455ecd2a0348cf19da62c0
Submitter: Jenkins
Branch: master

commit e8464863491eee30e2455ecd2a0348cf19da62c0
Author: Tom Cammann <email address hidden>
Date: Wed Sep 9 17:31:37 2015 +0100

    Raise exception when wrong type is used as default

    In I12cd5f4be82ac5ed0ebb348b358dd8eaf04e4e0d the change introduced type
    checking of the default value to the Opt and logged a warning. This
    change now raises an exception as per the comment in the original
    change.

    Closes-Bug: #1502072
    Change-Id: I9b806efc750009d64b08a5583449bebbf10e3fb4

Changed in oslo.config:
status: In Progress → Fix Committed
Changed in oslo.config:
milestone: none → 2.7.0
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.