Remove name generation in resource type creation
Set name as mandatory parameter when creating a resource type in gnocchi metric service. Change-Id: I2403aff6a88176bbc1f438c8f5ce0453ab1ae915 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
This commit is contained in:
parent
26212931fb
commit
48f97eea90
@ -180,7 +180,7 @@ class GnocchiService(service.Service):
|
||||
|
||||
:param name: Name of the resource type
|
||||
"""
|
||||
resource_type = {"name": name or self.generate_random_name()}
|
||||
resource_type = {"name": name}
|
||||
if attributes is not None:
|
||||
resource_type["attributes"] = attributes
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user