Merge "Remove name generation in resource type creation"

This commit is contained in:
Zuul 2018-04-23 16:06:06 +00:00 committed by Gerrit Code Review
commit 911663cda1

@ -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