Add protocol to help of glance_api_servers option

Help for glance_api_servers option lacked information that it is
possible to specify protocol there (http or https) and suggested that
it isn't possible to use HTTPS in connection from Cinder to Glance.
This commit expands the message to include such information.

Change-Id: I5afa33193b6dda2477e5a28fa042e625d449257b
Closes-Bug: 1509065
This commit is contained in:
Michał Dulko 2015-10-22 21:49:13 +02:00
parent caa7940db4
commit acfdadd192
1 changed files with 3 additions and 2 deletions

View File

@ -65,8 +65,9 @@ global_opts = [
help='Default glance port'),
cfg.ListOpt('glance_api_servers',
default=['$glance_host:$glance_port'],
help='A list of the glance API servers available to cinder '
'([hostname|ip]:port)'),
help='A list of the URLs of glance API servers available to '
'cinder ([http[s]://][hostname|ip]:port). If protocol '
'is not specified it defaults to http.'),
cfg.IntOpt('glance_api_version',
default=1,
help='Version of the glance API to use'),