diff options
author | Pavlo Shchelokovskyy <shchelokovskyy@gmail.com> | 2017-05-24 11:05:08 +0000 |
---|---|---|
committer | Pavlo Shchelokovskyy <shchelokovskyy@gmail.com> | 2017-05-24 11:08:52 +0000 |
commit | 13d91bd7b43e0e1a931fe6b5f7338a64b627ff50 (patch) | |
tree | 05fbdd699d6d3bfe74eb086c8c1a7433276ea49a /etc | |
parent | 3ea37717767c54203a088177e4fee3df16663cf2 (diff) | |
download | ironic-13d91bd7b43e0e1a931fe6b5f7338a64b627ff50.tar.gz |
Use cfg.URIOpt for URLs with required schemes
instead of specifying URL config options as StrOpt + regex enforcing
the string starting with 'http://' or 'https://'.
URIOpt is already available in minimal version of oslo.config that is
required by ironic.
Change-Id: I47089e215f730b3990004a66e0f35262a5f9d9bd
Diffstat (limited to 'etc')
-rw-r--r-- | etc/ironic/ironic.conf.sample | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/ironic/ironic.conf.sample b/etc/ironic/ironic.conf.sample index c8e7bcd71..1e3c1aaff 100644 --- a/etc/ironic/ironic.conf.sample +++ b/etc/ironic/ironic.conf.sample @@ -974,7 +974,7 @@ # URL for connecting to cinder. If set, the value must start # with either http:// or https://. This option is part of # boot-from-volume work, which is not currently exposed to -# users. (string value) +# users. (uri value) #url = <None> # User's domain id (string value) @@ -1023,7 +1023,7 @@ # URL of Ironic API service. If not set ironic can get the # current value from the keystone service catalog. If set, the -# value must start with either http:// or https://. (string +# value must start with either http:// or https://. (uri # value) #api_url = <None> |