'Matches' function returns error when used how it's documented

Bug #1555817 reported by Nate Potter
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Cinder
In Progress
Undecided
Nate Potter

Bug Description

In cinder.api.openstack.api_version_request the function 'matches' calls the method .is_null() on the min_version and max_version parameters. In the documentation here http://docs.openstack.org/developer/cinder/devref/api_microversion_dev.html#when-do-i-need-a-new-microversion, it shows that these parameters are intended to be string values. However, this results in an error when the code actually runs because there is no is_null() method for strings, or even floats which the version numbers could also be interpreted as.

Nate Potter (ntpttr)
Changed in cinder:
assignee: nobody → Nate Potter (ntpttr)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.openstack.org/291448

Changed in cinder:
status: New → In Progress
Revision history for this message
Scott DAngelo (scott-dangelo) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on cinder (master)

Change abandoned by Nate Potter (<email address hidden>) on branch: master
Review: https://review.openstack.org/291448

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.