[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] docs/COLO-FT.txt: Drop deprecated 'props' from object-add in
From: |
Markus Armbruster |
Subject: |
Re: [PATCH] docs/COLO-FT.txt: Drop deprecated 'props' from object-add in COLO docs |
Date: |
Thu, 18 Nov 2021 07:49:32 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
"Rao, Lei" <lei.rao@intel.com> writes:
> From: "Rao, Lei" <lei.rao@intel.com>
>
> With the removal of deprecated 'props' from object-add in the commit of
> "50243407457a9fb0ed17b9a9ba9fc9aee09495b1", we also should update COLO's
> documents.
We should've done this right when we deprecated it. Not your fault, and
better late than never.
Recommend to quote commits like
in commit 5024340745 "qapi/qom: Drop deprecated 'props' from
object-add" (v6.0.0)
I have
[alias]
whatis = "!f() { git --no-pager show -s --pretty=\"tformat:%h
\"%s\" (`git dc $1 | sed 's/~.*//;s/%/%%/g'`, %cd)\" --date=short $1; }; f"
in my ~/.gitconfig, so I can run
$ git whatis 50243407457a9fb0ed17b9a9ba9fc9aee09495b1
5024340745 qapi/qom: Drop deprecated 'props' from object-add (v6.0.0-rc0,
2021-03-19)
> Signed-off-by: Lei Rao <lei.rao@intel.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Same issue in docs/system/authz.rst, docs/throttle.txt, and
docs/tools/qemu-nbd.rst. Care to fix it there as well?
Also...
> ---
> docs/COLO-FT.txt | 16 ++++++++--------
> 1 file changed, 8 insertions(+), 8 deletions(-)
>
> diff --git a/docs/COLO-FT.txt b/docs/COLO-FT.txt
> index 8d6d53a..fd5ffcc 100644
> --- a/docs/COLO-FT.txt
> +++ b/docs/COLO-FT.txt
> @@ -289,11 +289,11 @@ Wait until disk is synced, then:
> {'execute': 'human-monitor-command', 'arguments':{ 'command-line':
> 'drive_add -n buddy
> driver=replication,mode=primary,file.driver=nbd,file.host=127.0.0.2,file.port=9999,file.export=parent0,node-name=replication0'}}
> {'execute': 'x-blockdev-change', 'arguments':{ 'parent': 'colo-disk0',
> 'node': 'replication0' } }
>
... I'd like us to use double quotes in examples, not single quotes.
QMP supports single quotes as an extension over JSON. Best to avoid it.
Separate patch, of course.
Same in docs/block-replication.txt.
[...]