Fix docstring for disk_cachemodes

The docstring for the disk_cachemodes option implied a syntax that is
incorrect for a ListOpt.  Change the example to match exactly what you
would put in the config file for it to work.

Change-Id: Ie999d2799dba6c47facdc771e1cf6081d28d6b85
Closes-Bug: #1106423
This commit is contained in:
Russell Bryant 2013-10-04 15:28:40 -04:00
parent b0f6fdbc76
commit 1df9b26b51
2 changed files with 2 additions and 2 deletions

View File

@ -2052,7 +2052,7 @@
#xen_hvmloader_path=/usr/lib/xen/boot/hvmloader
# Specific cachemodes to use for different disk types e.g:
# ["file=directsync","block=none"] (list value)
# file=directsync,block=none (list value)
#disk_cachemodes=
# Which pcpus can be used by vcpus of instance e.g:

View File

@ -213,7 +213,7 @@ libvirt_opts = [
cfg.ListOpt('disk_cachemodes',
default=[],
help='Specific cachemodes to use for different disk types '
'e.g: ["file=directsync","block=none"]'),
'e.g: file=directsync,block=none'),
cfg.StrOpt('vcpu_pin_set',
help='Which pcpus can be used by vcpus of instance '
'e.g: "4-12,^8,15"'),