Default for service service type should be empty

It's an override type, which means we need to know if it's set or not.
The default value for it is, well, obvious - since it's based on the
name. This was an oversight in the duplication of the method.

Change-Id: I5fe1d1dd5f0f1e34ec5eddf92cb6964cc389ca51
This commit is contained in:
Monty Taylor 2015-12-03 08:27:02 -08:00
parent 2eb534900c
commit d123ca56d5

View File

@ -260,7 +260,7 @@ class Adapter(object):
metavar='<name>',
default=os.environ.get(
'OS_{service_type}_SERVICE_TYPE'.format(
service_type=service_env), service_type),
service_type=service_env), None),
help=('Service type to request from the catalog for the'
' {service_type} service'.format(
service_type=service_type)))