Mark deprecated db calls as 'deprecated'
Bug #949652 reported by
Andrew Bogott
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Since project & user information is handled by keystone now, many functions in the Nova db api don't do much.
project_get()
project_create()
project_
etc.
user_get()
user_get_by_uid()
etc.
It would've saved me a bit of time tonight if those functions had warned me that they're deprecated. Someone should go through and paste LOG.warn(_('This function is deprecated in favor of keystone')) throughout.
(I'd just do it, but I don't understand the design well enough to paste accurately.)
To post a comment you must log in.
Since these are all going to be removed as soon as folsom opens, I don't know that there is need to mark them all deprecated.