Kevin Wolf <kw...@redhat.com> writes: > Am 14.09.2015 um 16:36 hat Markus Armbruster geschrieben: >> Wen Congyang <we...@cn.fujitsu.com> writes: >> > diff --git a/qmp-commands.hx b/qmp-commands.hx >> > index 495670b..139a23b 100644 >> > --- a/qmp-commands.hx >> > +++ b/qmp-commands.hx >> > @@ -4053,6 +4053,59 @@ Example: >> > EQMP >> > >> > { >> > + .name = "x-child-add", >> > + .args_type = "parent:B,child:B", >> > + .mhandler.cmd_new = qmp_marshal_input_x_child_add, >> > + }, >> > + >> > +SQMP >> > +x-child-add >> > +------------ >> > + >> > +Add a child to a quorum node. >> > + >> > +Arguments: >> > + >> > +- "parent": the quorum's id or node name >> > +- "child": the child node-name which will be added >> >> Node name parameters are usually named node-name or, if there's more >> than one, FOO-node-name. Unless we want to abandon that convention, >> this should therefore be node-name and child-node-name, or parent-node >> name and child-node-name. > > Didn't we come to the conclusion that foo-node-name is redundant and > should just be foo, leaving things like node-name only for cases where > there is no foo?
I don't remember :) I'm fine with simpler names.