Rename the model object ResourceProviderTraits to ResourceProviderTrait

The name of model object should be singular. This patch corrects it.

Partial implement blueprint resource-provider-traits

Change-Id: I7600d7e3775d237e0593ec52fbb474e1dad079c1
This commit is contained in:
He Jie Xu 2017-03-30 10:52:30 +08:00
parent 15f16fb2ad
commit f307bc04db

@ -567,7 +567,7 @@ class Trait(API_BASE):
name = Column(Unicode(255), nullable=False)
class ResourceProviderTraits(API_BASE):
class ResourceProviderTrait(API_BASE):
"""Represents the relationship between traits and resource provider"""
__tablename__ = "resource_provider_traits"