rpc: Fix missing import for json exception
Change-Id: I96b82d2c09a1cc2617f295e355d8a395e0090762 Signed-off-by: Pawel Kaminski <pawelx.kaminski@intel.com> Reviewed-on: https://review.gerrithub.io/413019 Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
This commit is contained in:
parent
40b6f761b2
commit
0054af55c9
@ -12,6 +12,7 @@ from . import nvmf
|
||||
from . import pmem
|
||||
from . import subsystem
|
||||
from . import vhost
|
||||
from . import client as rpc_client
|
||||
|
||||
|
||||
def start_subsystem_init(client):
|
||||
@ -89,7 +90,7 @@ def load_config(client, args):
|
||||
allowed_found = True
|
||||
|
||||
if subsystems and not allowed_found:
|
||||
raise JSONRPCException("Some config left but did not found any allowed method to execute")
|
||||
raise rpc_client.JSONRPCException("Some config left but did not found any allowed method to execute")
|
||||
|
||||
|
||||
def load_subsystem_config(client, args):
|
||||
|
Loading…
x
Reference in New Issue
Block a user