Fix comments on metadata number limitation
The comment says that at most five key/value pairs are allowed but it is not true, at least not true any more, based on some experiments. This patch fixes the comment to avoid confusion. Change-Id: I098ded910a6c7c2a7f967e6afe14e93d231d7ace
This commit is contained in:
parent
0343dff973
commit
038c0dc624
@ -840,8 +840,7 @@ class ServerManager(base.BootingManagerWithFind):
|
||||
:param image: The :class:`Image` to boot with.
|
||||
:param flavor: The :class:`Flavor` to boot onto.
|
||||
:param meta: A dict of arbitrary key/value metadata to store for this
|
||||
server. A maximum of five entries is allowed, and both
|
||||
keys and values must be 255 characters or less.
|
||||
server. Both keys and values must be <=255 characters.
|
||||
:param files: A dict of files to overrwrite on the server upon boot.
|
||||
Keys are file names (i.e. ``/etc/passwd``) and values
|
||||
are the file contents (either as a string or as a
|
||||
@ -962,8 +961,7 @@ class ServerManager(base.BootingManagerWithFind):
|
||||
be preserved when rebuilding the instance. Defaults to False.
|
||||
:param name: Something to name the server.
|
||||
:param meta: A dict of arbitrary key/value metadata to store for this
|
||||
server. A maximum of five entries is allowed, and both
|
||||
keys and values must be 255 characters or less.
|
||||
server. Both keys and values must be <=255 characters.
|
||||
:param files: A dict of files to overwrite on the server upon boot.
|
||||
Keys are file names (i.e. ``/etc/passwd``) and values
|
||||
are the file contents (either as a string or as a
|
||||
|
Loading…
x
Reference in New Issue
Block a user