+5
−0
Loading
This is only relevant when rpc.py is running in server mode. Recent changes in argparse under python3.11 force it to raise the ArgumentError exception whenever subparser of the same name is being added. With that in mind, avoid extra call to spdk_rpc_plugin_initialize() by keeping track of all plugins that were already successfully initialized. Signed-off-by:Michal Berger <michal.berger@intel.com> Change-Id: I89124738b995ba774b6619f97726a5bd69fe1fd9 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15807 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Kamil Godzwon <kamilx.godzwon@intel.com> Reviewed-by:
Pawel Piatek <pawelx.piatek@intel.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Community-CI: Mellanox Build Bot