Permalink
Browse files

Typofix is_publi -> is_public

Change-Id: I58d6de4387c7915acf1fc139ef9a0ad81bf64a91
  • Loading branch information...
1 parent dfe823a commit 7c2e32511aafa7b0e50b0c9ba6fd942caec93860 @rconradharris rconradharris committed Feb 2, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 doc/source/glance.rst
View
8 doc/source/glance.rst
@@ -217,20 +217,20 @@ information about the metadata that was saved with the image::
If you are unsure about what will be added, you can use the ``--dry-run``
command-line option, which will simply show you what *would* have happened::
- $> glance --dry-run add name="Foo" distro="Ubuntu" is_publi=True < \
+ $> glance --dry-run add name="Foo" distro="Ubuntu" is_public=True < \
/tmp/images/myimage.iso --host=65.114.169.29
Dry run. We would have done the following:
Add new image with metadata:
container_format => ovf
disk_format => raw
is_public => False
name => Foo
- properties => {'is_publi': 'True', 'distro': 'Ubuntu'}
+ properties => {'is_public': 'True', 'distro': 'Ubuntu'}
This is useful for detecting problems and for seeing what the default field
values supplied by ``glance`` are. For instance, there was a typo in
-the command above (the ``is_public`` field was incorrectly spelled ``is_publi``
-which resulted in the image having an ``is_publi`` custom property added to
+the command above (the ``is_public`` field was incorrectly spelled ``is_public``
+which resulted in the image having an ``is_public`` custom property added to
the image and the *real* ``is_public`` field value being `False` (the default)
and not `True`...

0 comments on commit 7c2e325

Please sign in to comment.