Remove unused table constants from allocation_candiate.py
The constants are not used in allocaion_candidate.py and are not referenced from elsewhere. The reason they ended up in there was because during the refactoring at [1] there was indecision about whether some methods should be in resource_provider.py or allocation_candidate.py. They ended up in resource_provider.py but the list of tables was not updated. [1] I6539d7db87bc24b03842e3d28a4296002b3549d5 Change-Id: I3d501543f7e79a8c3c030369af1398ca68f2b811
This commit is contained in:
parent
0a2a611d9f
commit
2e2cb183a4
|
@ -30,13 +30,9 @@ from placement.objects import trait as trait_obj
|
|||
from placement import resource_class_cache as rc_cache
|
||||
|
||||
|
||||
_AGG_TBL = models.PlacementAggregate.__table__
|
||||
_ALLOC_TBL = models.Allocation.__table__
|
||||
_INV_TBL = models.Inventory.__table__
|
||||
_RP_AGG_TBL = models.ResourceProviderAggregate.__table__
|
||||
_RP_TBL = models.ResourceProvider.__table__
|
||||
_RP_TRAIT_TBL = models.ResourceProviderTrait.__table__
|
||||
_TRAIT_TBL = models.Trait.__table__
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
|
Loading…
Reference in New Issue