[ovs-git] [openvswitch/ovs] f74082: jsonrpc: Don't assert for 0 remotes in jsonrpc_ses...
noreply at github.com
Mon Jun 29 17:40:51 UTC 2020
Author: Ben Pfaff <blp at ovn.org>
Date: 2020-06-29 (Mon, 29 Jun 2020)
jsonrpc: Don't assert for 0 remotes in jsonrpc_session_open_multiple().
It's pretty easy to get 0 remotes here from ovn-northd if you specify
--ovnnb-db='' or --ovnnb-db=' ' on the command line. The internals
of jsonrpc_session aren't equipped to cope with that, so just add a
dummy remote instead.
Acked-by: Numan Siddique <numans at ovn.org>
Signed-off-by: Ben Pfaff <blp at ovn.org>
More information about the git